in reply to unix commands output
Another useful option is the Capture::Tiny module, which allows you to capture the output for (possible) later use:
use Capture::Tiny ':all'; my $command = ...; my @args = ...; my ($stdout, $stderr, $exit) = capture { system($command, @args); };
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
|---|