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;
Went to join the gridlock to see it
Held an eclipse party
Watched a live feed
I cn"t see tge kwubosd to amswr thus
I tried to see it, but 8000 miles of rock got in the way
Wanted to see it, but they wouldn't reschedule it
Read the book instead
Results (275 votes). Check out past polls.