Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Compilation failed in require

1 view
Skip to first unread message

Bala Murugan

unread,
Aug 23, 2006, 6:52:47 AM8/23/06
to perl-t...@perl.org
Hi All,

While running the following temp.pl script, it throws the following error message.

$ perl temp.pl
HELLO
Compilation failed in require at temp.pl line 2.
$

$ cat temp.pl
#!/usr/bin/perl
require "/home/bala/hello.pl";

$ cat hello.pl
#!/usr/bin/perl
die "HELLO\n";

If anyone knows, could you please let me know the reason and solution to this issue?

Regards,
Bala.

Andrew Savige

unread,
Aug 23, 2006, 7:21:56 AM8/23/06
to Bala Murugan, perl-t...@perl.org
--- Bala Murugan <kbal...@gmail.com> wrote:
> While running the following temp.pl script, it throws the following error
> message.

... <snipped perl question>

This is a list for Perl trainers to discuss Perl training issues.
Accordingly, this is the wrong list for questions about Perl.
If you want a quick answer, I suggest you post your question at:

http://www.perlmonks.org/

If you prefer mailing lists, I suggest posting your question on this
mailing list:

http://lists.cpan.org/showlist.cgi?name=perl-beginner

Good luck,
/-\



____________________________________________________
On Yahoo!7
Messenger - Make free PC-to-PC calls to your friends overseas.
http://au.messenger.yahoo.com

0 new messages