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

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.

HTH

Bec

Personal reply as per your Reply-To


On Mon, Aug 13, 2001 at 04:05:21PM +0200, Eugene van Zyl wrote:
> Hi,
> 
> Question:
> 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:
> #!/usr/bin/perl
> 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.
> 
> TAI,
> Eugene van Zyl
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: