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.

Reply via email to