Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Odd Perl interpreter problem



On Sat, 29 Dec 2001, Lars Kellogg-Stedman wrote:

> > I am having an odd Perl problem on Slack 8.0 box.
> >
> > I have #!/usr/bin/perl as interpreter line in scripts.
> > I get "bad interpreter: no such file or directory" messages when trying to
> > run the script.
>
>
> Josh,
>
> Make sure there aren't any extra spaces after the #! line.
> '#!/usr/bin/perl ' is not the same as '#!/usr/bin/perl'.

Similar problem can happen if you edit a perl script on a samba share
using notepad.  You'll end up with carriage-return linefeed, rather than
just a newline.

-- 

-Ron-
https://www.yellowbank.com/





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org