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

Re: Bash/Perl weirdness



Hallo Eugene,

* Eugene schrieb:

> 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.

Take a look into the script and you will see there is a file or
directory missing. 

To get more warnings use:
 #!/usr/bin/perl -w


-- 
bye

Waldemar



Reply to: