Thanks Felix - You're right, it's a leftover from my
Win32 wimp days. All is well...
Aloha => Beau.

-----Original Message-----
From: Felix Geerinckx [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 8:55 AM
To: [EMAIL PROTECTED]
Subject: Re: Executing perl in Linux


on Wed, 28 Aug 2002 18:36:43 GMT, Beau E. Cox wrote:

> For perl script 'test'

It's not a good idea to name your script 'test', but that's another story

> For perl script 'x'
>      bash: ./x: bad interpreter: No such file or directory

This script probably has DOS-style line-endings (<CR><LF>) instead of 
Unix-style <LF> (Perhaps a leftover from your win32 period ;-) 
Your shell is looking for /usr/bin/perl<CR>, which it doesn't find of 
course. You should use a dos2unix-style utility to convert the script.

-- 
felix

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to