Think about Loose Coupling | |
PerlMonks |
Re^7: strawberry win10 no ARGVby pryrt (Abbot) |
on Dec 16, 2019 at 17:18 UTC ( [id://11110256]=note: print w/replies, xml ) | Need Help?? |
I make some changes to regedit which didn't seem to help. Too bad you didn't show us what changes, otherwise, we could have helped you figure out what you did wrong. However i found when the first argument is the full path to perl.exe everything works! either from the cmd line or using qx inside the wrapper script. Yes, that's because by supplying the full path to perl.exe first, you are no longer relying on the Windows file association, and are instead directly invoking the perl interpreter yourself. That is a reasonable idiom. However, your double-click won't work. If you want double-click to work, you'll need to put in a bit more effort. In this post, you said that .pl maps to pl_auto_file. If you do a reg query HKCR\pl_auto_file /s, you can show us what you actually have set, and we can help you debug. For example, mine (which uses PerlScript, not pl_auto_file), can be seen below
update: trimmed extra verbs to avoid confusion
In Section
Seekers of Perl Wisdom
|
|