Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^6: What's wrong with @ARGV - or with me?

by karlgoethebier (Parson)
on Jun 12, 2013 at 13:43 UTC ( #1038470=note: print w/replies, xml ) Need Help??


in reply to Re^5: What's wrong with @ARGV - or with me?
in thread What's wrong with @ARGV - or with me?

"Why did you switch...?"

I don't know :-(

But this fixed it: HKEY_CLASSES_ROOT\Applications\perl.exe\shell\open\command was "C:\Perl64\bin\perl.exe" "%1". It should be "C:\Perl64\bin\perl.exe" "%1" %*

One-hit wonder ;-)

Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

Replies are listed 'Best First'.
Re^7: What's wrong with @ARGV - or with me?
by BrowserUk (Pope) on Jun 12, 2013 at 13:56 UTC
    But this fixed it: HKEY_CLASSES_ROOT\Applications\perl.exe\shell\open\command

    Weird!

    I currently have 5 versions of AS perl installed on this machine -- and I've had many others installed previously -- and that key doesn't exist in my registry.

    What creates it and what uses it?


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
        Please see also How do I make Perl scripts recognize parameters in the Win32 cmd console?

        Hm. Not sure about the validity of the comments by lucretius. Specifically "To sum up. ftype is old and cmd.exe doesn't care whatever it says.".

        That does not fit with my understanding or experience. I can easily flip the active perl installation on my entire machine between the various versions I have installed by changing the ftype setting.

        And, as I mentioned, I don't have that registry key set and I don't know what is setting it?


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038470]
help
Chatterbox?
[1nickt]: TCLion are you parsing the dates with DateTime or another tool?
[1nickt]: I note DateTime::Format:: Flexible, announced immediately below this box in the CPAN feed
[Corion]: 1nickt: That one sounds sensible as it will tell you when it found an error
[1nickt]: Throws on error, I believe
[1nickt]: But should handle month as number or word
[TCLion]: I am breaking down the line and putting the date in the correct order during output

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (19)
As of 2017-03-23 14:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (288 votes). Check out past polls.