Hello,
Could someone resolve the puzzle for me:
I have the directory of perl.exe set as in the path environment variable in Windows2000. I write a perl script and have it is directory in the path as well. I have set it that the way to open this file is thru perl.exe. So now when I type it as a command, it should automatically use perl to execute it, right? But this file takes an argument. When I use the form like:
foo.pl inputFile
It does not take any argument at all. The scalar(@ARGV) is 0. I used active perl.
Has anyone encountered this situation before? Could you please let me know what happened?
Thank you
ginger