Just another Perl shrine | |
PerlMonks |
Re: Re: How do I redirect STDERR to a subroutine?by DaWolf (Curate) |
on Feb 18, 2004 at 15:02 UTC ( [id://329925]=note: print w/replies, xml ) | Need Help?? |
You've said: "Messing with the standard streams should be your last resort."
I've had a a question about STDERR not long ago, so I'm curious: could you explain why it should be the last resort? For an example, if my perl program runs in a Win32 environment without a DOS box, unless I "mess" with STDERR and put it into a file, I'd never see any errors generated by perl... So, you can say messing with STDERR was my first resort ;) Thanks,
my
($author_nickname, $author_email) = ("DaWolf","erabbott\@terra.com.br")
if ($author_name eq "Er
Galvão Abbott");
In Section
Seekers of Perl Wisdom
|
|