in reply to running scripts in Mac OS 10.4
You didn't by chance upload from a Windows box using FTP did you? If you uploaded in binary mode, it will mangle the line endings and the #! line won't make sense to the shell. If you invoke perl manually, perl is smart enough to handle both unixy and windowsy line endings.
If you did upload with FTP, try uploading again in ASCII mode.
--Pileofrogs
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: running scripts in Mac OS 10.4
by Corion (Patriarch) on Jun 25, 2008 at 16:44 UTC | |
by Anonymous Monk on Jun 26, 2008 at 03:53 UTC | |
|
Re^2: running scripts in Mac OS 10.4
by CountZero (Bishop) on Jun 25, 2008 at 18:23 UTC | |
|
Re^2: running scripts in Mac OS 10.4
by rogerd (Sexton) on Jun 25, 2008 at 19:53 UTC |