in reply to Re: Out of date over <> and 5.10
in thread Out of date over <> and 5.10

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.
RIP an inspiration; A true Folk's Guy

Replies are listed 'Best First'.
Re^3: Out of date over <> and 5.10
by ikegami (Patriarch) on Sep 08, 2010 at 03:46 UTC
    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.

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

        It happened to the OP.

        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.

        Lots of people are/were missing the %1 in their association. That's a different problem. It works fine for the OP when he provides an argument. It's when he redirects STDIN that he has a problem.