Hi, The Perl excutable is located at "/usr/bin" & The script has "#!/usr/bin/env perl" at the top. I changed the "#!/usr/bin/env perl" to "/usr/bin perl", this time when I run , its giving "permission denied".But, I have other scripts, with "#!/usr/bin/env perl", these are executing with no issues.
-reddy. ----- Original Message ---- From: Owen <[EMAIL PROTECTED]> To: pradeep reddy <[EMAIL PROTECTED]> Cc: beginners@perl.org Sent: Tuesday, 19 December, 2006 11:32:17 AM Subject: Re: perl script execution issue On Tue, 19 Dec 2006 10:55:43 +0530 (IST) pradeep reddy <[EMAIL PROTECTED]> wrote: > Hi, > > Error was: > ": No such file or directory." > > I made the changes in the code of script.I did not change any environment > variable and any execution path. > The script has "#!/usr/bin/env perl" at the top. Where is the perl executable/binary located. Normally it can be accessed through /usr/bin/perl and I suggest you use that to see if that is the problem Owen Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php