[Israel.pm] invisible differences...
Gabor Szabo
gabor at perl.org.il
Sun Dec 26 05:39:23 PST 2004
This one is driving me crazy.
As user "root" I have created a file in /home/gabor/a.pl
#!/usr/bin/perl
print "hello\n";
chmod +x a.pl
and then ./a.pl printed "hello"
I did the same in /root/a.pl
It also worked.
Then I created the same file (still using vi ) in
/var/www/a.pl
I can still run it as perl a.pl and see the printout but
if I try to run as ./a.pl it does not print anyting.
All this on a Fedora 3
Gabor
More information about the Perl
mailing list