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

Re: Re: Re: Re: How do I redirect STDERR to a subroutine?

by DaWolf (Curate)
on Feb 18, 2004 at 20:12 UTC ( [id://330041]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: How do I redirect STDERR to a subroutine?
in thread How do I redirect STDERR to a subroutine?

Sorry, but I have to disagree again.

STDERR, AFAIK, is working perfectly on ActivePerl 5.8.0 on my Win2k box. The app I've mentioned writes to a log file and I get all sorts of error when things go wrong.

I know Windows isn't perfect (at all) but people should have a little more faith on things running on it, instead of expecting them to go wrong just because it's a Win32 environment... Please, don't get me wrong, I don't mean to be rude, but I think any generalization is bad.

I agree with you when you say that STDERR shouldn't be "muted", but then again neither I or the OP were suggesting this (if I ever do please kill me), we just want to redirect STDERR so we can treat it before displaying it, if I understood him correctly.

Background: When I say "we" referring to me and the OP, it's because of my node: Formatting STDERR.

Best regards,

my ($author_nickname, $author_email) = ("DaWolf","erabbott\@terra.com.br") if ($author_name eq "Er Galvão Abbott");
  • Comment on Re: Re: Re: Re: How do I redirect STDERR to a subroutine?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-25 23:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found