or some such.use constant DIR => '~/';
sub run_system { my (@params) = @_; system(@params) == 0 or die "System command @{[join ' ', @params]} failed: returned + @{[ $? >> 8 ]}; stopped"; }
But, these are merely suggestions. It looks like good Perl to me.
stephen
In reply to Re: hash n' params
by stephen
in thread hash n' params
by ybiC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |