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

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

by bulk88 (Priest)
on Mar 12, 2014 at 00:24 UTC ( #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
Node Status?
node history
Node Type: note [id://1077947]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (16)
As of 2015-07-31 16:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (279 votes), past polls