in reply to Re: Modify system() call output only if printed to STDERR
in thread Modify system() call output only if printed to STDERR

Perfect. Got it with:

run3 ['lpass', $cmd, $args], undef, undef, \&_filter; sub _filter { my $output = shift; $output =~ s/lpass/lpp/gm; print $output; }

What the hell will they think of next. :)

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks