in reply to "findlog.pl/1" broke in Win2003
Even though the original poster possibly won't be around to read this, I think I now know what he meant to express:
Originally, the script contained a call to another script (let's call it findloc.pl) like this:
system( 'findloc.pl/1' );
For some reason or another, "it dosen't work anymore". The "fix" was to remove the /1:
system( 'findloc.pl' );
The NT shell (cmd.exe) treats everything starting with a slash as a switch to the program, so in the first case, the second script was being launched with $ARGV[0] eq '/1'. With the change, $ARGV[0] is (most likely) undef.
So I guess that the real change was in the called script findloc.pl.
|
|---|