Capture::Tiny::Extended automatically captures return values and returns them after the second return value (or first if you're using the merged functions).
use Capture::Tiny::Extended 'capture'; my ( $out, $err, $res ) = capture { system( 'ls' ) };
...it is unhealthy to remain near things that are in the process of blowing up. man page for WARP, by Larry Wall
In reply to Re^3: How to pass data as STDIN to Capture::Tiny
by NetWallah
in thread How to pass data as STDIN to Capture::Tiny
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |