Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Out of date over <> and 5.10

by ikegami (Patriarch)
on Sep 08, 2010 at 02:16 UTC ( [id://859244]=note: print w/replies, xml ) Need Help??


in reply to Out of date over <> and 5.10

This isn't related to Perl. Windows had problem with running non-executables with redirection. I thought that was a thing of the past, but I guess not. I've had no problem with WinXP and Win7 with a wide variety of ActiveState builds, but my system isn't setup in a way that allows omitting the extension. Maybe the problem lies with that feature. You might have better luck specifying the extension. If that doesn't help, you'll have to specify the executable. You also have the option of using pl2bat.

Replies are listed 'Best First'.
Re^2: Out of date over <> and 5.10
by BrowserUk (Patriarch) on Sep 08, 2010 at 03:29 UTC
    Windows had problem with running non-executables with redirection. I thought that was a thing of the past, but I guess not.

    Huh?

    c:\test>type junk.pl print while <>; c:\test>perl junk.pl junk.pl print while <>; c:\test>perl junk.pl < junk.pl print while <>; c:\test>junk.pl junk.pl print while <>; c:\test>junk.pl < junk.pl print while <>; c:\test>junk junk.pl print while <>; c:\test>junk < junk.pl print while <>; c:\test>del junk.pl c:\test>copy con junk.pl print "'$_'" while <>; ^Z 1 file(s) copied. c:\test>type junk.pl | perl junk.pl 'print "'$_'" while <>; ' c:\test>type junk.pl | junk.pl 'print "'$_'" while <>; ' c:\test>type junk.pl | junk 'print "'$_'" while <>; '

    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.
      Am I missing something? You say "Huh?", but you seem to not suffer from the problem either.

        You said you; "thought it was a thing of the past", indicating that it is (still?) a problem?

        I think the problem--when it existed--was more a problem with the way perl assocs were set up (by AS)--not a fundamental issue with Windows redirection.


        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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://859244]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found