Help for this page

Select Code to Download


  1. or download this
    tie(*STDERR, 'Tk::Text', $text); 
    tie(*STDOUT, 'Tk::Text', $text); 
    $SIG{'__WARN__'} = sub { print STDERR @_ };
    
  2. or download this
    use Tie::STDERR \$append_to_scalar;