Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: if (STDERR == STDOUT)

by imp (Priest)
on Mar 06, 2007 at 16:39 UTC ( #603456=note: print w/replies, xml ) Need Help??


in reply to if (STDERR == STDOUT)

I second ikegami's advice - you should handle this with a commandline option instead of trying to detect whether the file descriptor for STDOUT and STDERR are writing to the same stream. From perl's perspective they are separate entities, as can be seen with fileno.

As a last resort you could query the operating system with tools like lsof or the proc filesystem to find out where that filedescriptor is writing... but that would be somewhat bad mojo and should be avoided.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://603456]
help
Chatterbox?
[atcroft]: choroba: I found something in the GitHub repo for it where someone suggested changing the limit in the search result URL, but I don't know how effective that will be....

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-04-29 05:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.