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;
Postpone until later
Each and every
Results (209 votes),