Ah! A Klingon programmer!
You would rather have your minions die then return in failure... Well, we can oblige...
You're looking for Perl6::Builtins, which you can use as follows:
use Perl6::Builtins qw( system ); system $cmd or croak "Couldn't run: $cmd ($OS_ERROR)";
Example was taken from TheDamian's Perl Best Practices.
In reply to Re: Modules which improve system() ?
by Gilimanjaro
in thread Modules which improve system() ?
by pjf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |