Compilation failed in require
[email protected] ("Bala Murugan") Wed, 23 Aug 2006 16:22:47 +0530
| Newsgroups | perl.trainers |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_122192_20743463.1156330367728 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. ------=_Part_122192_20743463.1156330367728 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All,<br><br>While running the following temp.pl script, it throws the following error message.<br><br>$ perl temp.pl<br>HELLO<br>Compilation failed in require at temp.pl line 2.<br>$<br><br>$ cat temp.pl<br> #!/usr/bin/perl<br> require "/home/bala/hello.pl";<br> <br>$ cat hello.pl<br>#!/usr/bin/perl<br>die "HELLO\n";<br><br>If anyone knows, could you please let me know the reason and solution to this issue?<br><br>Regards,<br>Bala.<br><br> ------=_Part_122192_20743463.1156330367728--