Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    
    ...
      return ($redir_stdout, $redir_stderr);
    }
    
  2. or download this
    #!/usr/bin/env perl 
    use strict;
    ...
    print         "PRG: Exchange: ", ( $exchange // '(nothing)'), "\n";
    
    $exchange = "after (called program)";
    
  3. or download this
    Caller: GOT from STDOUT (this_other_thing.pl): 
            OUT>  PRG: Hello World!
    ...
            ERR>  PRG: Hello Err!
    Caller: Exchange : after (called program)