RE: Executing perl in Linux

2002-08-28 Thread Beau E. Cox
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 o

Re: Executing perl in Linux

2002-08-28 Thread drieux
On Wednesday, August 28, 2002, at 11:36 , Beau E. Cox wrote: [..] > For perl script 'x' > > ls -l x > -rwxr-xr-x1 root root 41 Aug 28 08:13 x > cat x > #!/usr/bin/perl > print "Hello world\n"; > ../x > bash: ./x: bad interpreter: No such file or directory

Re: Executing perl in Linux

2002-08-28 Thread Felix Geerinckx
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 () instead