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

Re: Error trapping while capturing stdout

by coreolyn (Parson)
on Sep 14, 2004 at 16:17 UTC ( #390892=note: print w/replies, xml ) Need Help??

in reply to Error trapping while capturing stdout

Here's the umpteenth time I'm redirecting to this 0 rep Node.

For me it has solved my STDERR & STDOUT issues for a couple of years now in a production environment on win32, solaris, and linux platforms. By running this in a module it allows me to error check all of my system level calls back in my main code no matter what I call for any given platform, as well as making passing information to my logs easier.

I never use system or backticks any more.

  • Comment on Re: Error trapping while capturing stdout

Replies are listed 'Best First'.
Re^2: Error trapping while capturing stdout
by ccarden (Monk) on Nov 09, 2004 at 21:31 UTC
    Thanks for the link! It was very helpful.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://390892]
[Corion]: Oof - "Anyway, if it is not obvious, please keep this discussion entirely confidential for now.", as seen on a public mailing list ;)
[Discipulus]: uh no choroba.. i do not practice much with online putyour image sites:can you suggest one (that possibly remove the pic after few days)?
[choroba]: Corion a bug report?

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-03-27 07:48 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (317 votes). Check out past polls.