Date sent: Thu, 05 Dec 2002 12:56:14 -0500 From: "Sam Harris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: < a very novice > file location
> I m very new to perl, please notice the errors I am including and tell > me how simple it is to correct them :) > > > > I have MD5.pm and Std.pm to be used in a directory above the one > where > perl is, my script gives me an error that says > > # ./net_watch > ../net_watch[2]: use: not found > ../net_watch[3]: use: not found > ../net_watch[4]: syntax error at line 4 : `(' unexpected > > how do I solve the path requirement issue for perl for the error 1 -2, > then why is the third error is there from the following: > > #/usr/perl5/5.00503/bin/perl This should be #!/usr/perl5/5.00503/bin/perl (Assuming the path is correct) What you had was just a comment and the code was not executed by Perl, but by the shell. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]