Help for this page

Select Code to Download


  1. or download this
    perl yourscript.pl >stdout.txt 2>stderr.txt
    
  2. or download this
    my ($out, $err) = (*STDOUT, *STDERR);
    eval{
    ...
        # ...
    };
    *STDOUT = $out; *STDERR = $err;