R
Romuald Favre
Hi there,
I just installed Perl (v. 5.6.1. built for MSWin32 from ActiveState)
on a new server Windows 2000.
Amazingly the passing of arguments doesn't work !
I saved the following code in a file saved in "test.pl" :
#!/bin/perl -s
print STDOUT "NbArguments: $#ARGV\n";
print STDOUT "$ARGV[0], $ARGV[1]\n";
When I call it by "test.pl arg1 arg2", I get:
NbArguments : -1
,
I ran the same code on 2 other machines (XP and W2000): it works
normally...
I also installed another Perl version (INDIGOPERL) on this Server
W2000... and I keep getting the same weird behaviour !
Any idea ??? Does it have to do with the configuration or with
registry entries ?
Thanks for your contribution !
R.Favre
I just installed Perl (v. 5.6.1. built for MSWin32 from ActiveState)
on a new server Windows 2000.
Amazingly the passing of arguments doesn't work !
I saved the following code in a file saved in "test.pl" :
#!/bin/perl -s
print STDOUT "NbArguments: $#ARGV\n";
print STDOUT "$ARGV[0], $ARGV[1]\n";
When I call it by "test.pl arg1 arg2", I get:
NbArguments : -1
,
I ran the same code on 2 other machines (XP and W2000): it works
normally...
I also installed another Perl version (INDIGOPERL) on this Server
W2000... and I keep getting the same weird behaviour !
Any idea ??? Does it have to do with the configuration or with
registry entries ?
Thanks for your contribution !
R.Favre