in reply to capturing stderr of echo piped to a file
use Capture::Tiny qw/ capture /; my($stdout, $stderr, $exit) = capture { system { $args[0] } @args; };;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: capturing stderr of echo piped to a file
by cebundy (Novice) on Oct 28, 2014 at 20:36 UTC |