Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Command line arguments not passed in Win7

by Anonymous Monk
on Jul 12, 2018 at 19:58 UTC ( [id://1218402] : note . print w/replies, xml ) Need Help??


in reply to Re^3: Command line arguments not passed in Win7
in thread Command line arguments not passed in Win7

Before I tried your solution on Windows 10 with Active Perl,

tryit.pl a b c

using the ".pl" association to invoke Perl did not work, but

perl tryit.pl a b c

did work.

Then I tried your solution of adding %* to reg entries with "C:\Perl64\bin\perl.exe" "%1", and that fixed it so now

tryit.pl a b c

works and can see ARGV. Thank you!