in reply to bad interpreter: Permission denied
Chances are there is a ^M at the end of the shebang line. Try converting the whole file to unix line ends.
Update: There are lots of ways. You can use system tr, ftp in ASC mode, zip/unzip for a bulk conversion, and any number of specialized unstandardized converters (not to mention awk and sed). Since you're learning perl, I suggest:
once you have checked perlrun to see what the flags do.$ perl -pi.bak -e 's/\015//' *.pl
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: bad interpreter: Permission denied
by sfink (Deacon) on Apr 10, 2002 at 23:25 UTC | |
|
Re: Re: : bad interpreter: Permission deniedrl
by Guildencrantz (Sexton) on Apr 10, 2002 at 01:32 UTC | |
by Rex(Wrecks) (Curate) on Apr 10, 2002 at 01:39 UTC | |
by Guildencrantz (Sexton) on Apr 10, 2002 at 01:48 UTC |