in reply to Help with processing command line arguments

As the other Monks above noticed, you may not have the file associations set correctly.

If you're in a sane Win32 (ie, WinNT/2K/XP), you can do this:
ftype perl_script="C:\perl\bin\perl.exe" "%1" %* assoc .pl=perl_script
If you're on earlier Win32, god help you. Use a batch file as a wrapper.

And if you're on a Unix-like OS, just make sure you chmod a+x the file.

HTH,
ibanix

$ echo '$0 & $0 &' > foo; chmod a+x foo; foo;