Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1218402]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-25 23:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found