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