Charles and Pete nailed the problem.  I had a DOS end of line character in the file.  
After removing it things worked.

Thanks,
Ron Brinkman

-----Original Message-----
From:   Charles Galpin [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, August 17, 2000 8:21 PM
To:     '[EMAIL PROTECTED]'
Subject:        Re: PERL broken?

make sure perl is truly in /usr/bin by doing a 'which perl'

If it is there, do a 'od -c process.pl' and make sure you don't have a DOS
end of line char at the end of the first line.


hth
charles

On Thu, 17 Aug 2000, Ron Brinkman wrote:
> 
> When I try to run "./process.pl" the error message
> "bash: ./process.pl: No such file or directory" is complaining
> that bash cannot find perl!  Since which perl clearly shows
> it to be located at /usr/bin/perl and since the first line
> of the process.pl file is #!/usr/bin/perl I don't see why
> this is failing.  When I explicitly run "perl process.pl"
> it works as expected.  What's wrong?
> 
> Regards,
> Ron Brinkman



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to