You won't be surprised to discover that someone already did (much of) this: ExtUtils::Command. Even if you don't want to make your code depend on ExtUtils::Command, you can crib from its source.
the lowliest monk
In reply to Re: UN*X ls, sed, cat... in Perl
by tlm
in thread UN*X ls, sed, cat... in Perl
by ady
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |