in reply to Re: capture STDERR from within code?in thread capture STDERR from within code?
open(STDERR, '>', \my $BUF) or die $!;
warn "hey there";
$BUF=~/hey there/ or die;
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (558 votes). Check out past polls.