Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Perl in Windows - STDOUT to file Behavior difference by run context

by bulk88 (Priest)
on Mar 12, 2014 at 00:24 UTC ( [id://1077947]=note: print w/replies, xml ) Need Help??


in reply to Perl in Windows - STDOUT to file Behavior difference by run context

I debugged a similar problem but not same yesterday/today by chance. See https://rt.cpan.org/Ticket/Display.html?id=50374. When you use the run box, there is no shell/cmd prompt. MSDOS Batch language is not available from the run box. Expect to find a '>' in your @ARGV if you use the run box. You need to type "cmd /c perl foo.pl > text.txt" into run box so the shell processes it and launches perl, not the run box.
  • Comment on Re: Perl in Windows - STDOUT to file Behavior difference by run context

Replies are listed 'Best First'.
Re^2: Perl in Windows - STDOUT to file Behavior difference by run context
by AngelOnTheSideline (Initiate) on Mar 12, 2014 at 14:47 UTC
    This is exactly what I was looking for. Issue resolved. Thanks bunches!!!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-19 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found