Re: Bash/Perl weirdness
As a rough guess, was that a dos/MS file? I've had very confusing scripts
like that before that couldn't find /usr/bin/perl^M, because of that control
character. If this was the case, putting -w after the invocation would fix it
as you said.
Personal reply as per your Reply-To
On Mon, Aug 13, 2001 at 04:05:21PM +0200, Eugene van Zyl wrote:
> I've got a perl script with the following permissions:
> -rwxr-xr-x 1 root root 23980 Aug 13 15:55 data_update.pl
> the first line in the script is:
> which is where perl lives on Debian potato -> perl -V gives the correct reponse ...
> but # ./data_update.pl gives me:
> bash: ./data_update.pl: No such file or directory
> What gives? What obvious thing am I missing here cause other scripts run fine.
> Eugene van Zyl
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org