I did the samewhat you told, this time its says, "command not found".The same 
perl script runs fine on windows environment.But on linux machine its giving 
this problem.I have few other scripts, which are running fine with this 
environent both on linux and windows machines.

-reddy.


----- Original Message ----
From: Owen Cook <[EMAIL PROTECTED]>
To: pradeep reddy <[EMAIL PROTECTED]>
Cc: beginners@perl.org
Sent: Tuesday, 19 December, 2006 1:29:15 PM
Subject: Re: perl script execution issue


On Tue, Dec 19, 2006 at 06:18:54AM +0000, pradeep reddy wrote:
> 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.


You need to make that #!/usr/bin/perl 

or is that what you had?


Owen

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>

Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download 
Now! http://messenger.yahoo.com/download.php

Reply via email to