It's a known problem with the windows shell and file associations (its not just XP but NT and 2000 as well) - you will find that it will work fine if you run the program as 'perl test.pl one two three'. One solution is to use the progran 'pl2bat' that is included with ActivePerl, this will wrap your Perl program as a batch file which can be executed directly and which doesn't suffer from the ARGV problem.
/J\
In reply to Re: MS XP and ARGV
by gellyfish
in thread MS XP and ARGV
by ronrouth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |