I'm afraid that this is a problem with windows and not just with Perl - when you have an association with an extension like that it doesn't properly pass on the command line arguments. If you want to run the Perl program at the command line like that without specifiying the perl interpreter then you might want to look at using the pl2bat program that comes with ActivePerl. This will wrap your program as a windows .bat file that can be run and will pass on the command line arguments.
/J\
In reply to Re: perl script on Win32
by gellyfish
in thread perl script on Win32
by jellyroll10
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |