Hi,
I have some .pl scripts on Linux (Fedora 3, Perl v5.8.5) which USED TO run fine this way (scripts having #!/usr/bin/perl):
./myscript.pl
After a reboot, I can't run them anymore the same way.
I have to do:
perl myscript.pl
Doing so, the script runs fine (so the script is correct, I even tested the -w parameter but no warnings).
It also occurs in CGI scripts (bugzilla can't work anymore....can't even submit this bug
)
I did some tests (running ./myscript.pl) and basic stuff seems to work fine like printf(".."), system("ls").
However, a system("groupadd ...") (or system("pw groupadd ...")) don't work.
Please HEEEEEEELLLLLLLLLPPPPPPP !!!
Thank you.
PS: My knowledge is VERY VERY basic in perl.
I have some .pl scripts on Linux (Fedora 3, Perl v5.8.5) which USED TO run fine this way (scripts having #!/usr/bin/perl):
./myscript.pl
After a reboot, I can't run them anymore the same way.
I have to do:
perl myscript.pl
Doing so, the script runs fine (so the script is correct, I even tested the -w parameter but no warnings).
It also occurs in CGI scripts (bugzilla can't work anymore....can't even submit this bug
I did some tests (running ./myscript.pl) and basic stuff seems to work fine like printf(".."), system("ls").
However, a system("groupadd ...") (or system("pw groupadd ...")) don't work.
Please HEEEEEEELLLLLLLLLPPPPPPP !!!
Thank you.
PS: My knowledge is VERY VERY basic in perl.