in reply to Redirecting STDERR to a variable
tie(*STDERR, 'Tk::Text', $text); tie(*STDOUT, 'Tk::Text', $text); $SIG{'__WARN__'} = sub { print STDERR @_ };
use Tie::STDERR \$append_to_scalar;
good luck
Tie-bag
Sure there's more than one way, but one just needs one anyway - Teabag
|
|---|