Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by BrowserUk (Patriarch)
on Jun 12, 2013 at 12:36 UTC ( [id://1038456]=note: print w/replies, xml ) Need Help??


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

.file association is OK.

Doubtful. Your symptoms are exactly those of a windows system with mis-configured associations.

Please post your output from running assoc .pl and ftype Perl


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.

Replies are listed 'Best First'.
Re^4: What's wrong with @ARGV - or with me?
by blue_cowdawg (Monsignor) on Jun 12, 2013 at 13:02 UTC

    This thread is reminding me why I use Cygwin/X and run Perl stuff from there. That is when I am forced to use Windows at least..


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
      This thread is reminding me why I use Cygwin/X

      And for counterpoint; I won't touch cygwin with a bargepole. It is the worst of all worlds as far as I'm concerned.


      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.

        As a counter-counterpoint, I am a Unix sysadmin constrained to use a MS Windows PC for my job and Cygwin is an absolute godsend. I wouldn't be a quarter as effective in my job without it as it gives me access to most of my familiar tools. In a purely Windows world Cygwin might make less sense I guess.

        Cheers,

        JohnGG

        Didn't mean to start a religious war here...


        Peter L. Berghold -- Unix Professional
        Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
Re^4: What's wrong with @ARGV - or with me?
by karlgoethebier (Abbot) on Jun 12, 2013 at 13:16 UTC
    C:\Windows\system32>assoc .pl .pl=Perl C:\Windows\system32> C:\Windows\system32> C:\Windows\system32>ftype Perl Perl="C:\Perl64\bin\perl.exe" "%1" %* C:\Windows\system32>

    Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

      What is your path set to?

      Why did you switch from d:\tmp\scripts to c:\windows\system32 to run those commands?


      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.
        "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»

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-16 13:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found