Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: capture STDERR from within code?

by leocharre (Priest)
on Nov 10, 2009 at 14:45 UTC ( #806230=note: print w/replies, xml ) Need Help??

in reply to Re: capture STDERR from within code?
in thread capture STDERR from within code?

close(STDERR); open(STDERR, '>', \my $BUF) or die $!; warn "hey there"; $BUF=~/hey there/ or die;
Yes! You rawk, thank you.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://806230]
[beech]: checking chatterbox sidebar
[beech]: and again a check on chatterbox sidebar, what is expandability
beech me me me me me me testing chatterbox sidebar
beech my my /me me me me me me me chatterbox sidebar
beech testing chatterbox sidebar
[beech]: and something else

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-03-27 22:56 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (324 votes). Check out past polls.