Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Test whether STDOUT is connected to a file

by wazoox (Prior)
on Aug 19, 2010 at 10:46 UTC ( #855993=note: print w/replies, xml ) Need Help??


in reply to Re^2: Test whether STDOUT is connected to a file
in thread Test whether STDOUT is connected to a file

Because if I do this, I don't get any diagnostics about the error case.

You could redirect the STDERR to STDOUT in the called perl program, then you wouldn't need to rely upon a broken bourne-shell emulation under windows.

  • Comment on Re^3: Test whether STDOUT is connected to a file

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://855993]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-03-26 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.