http://qs321.pair.com?node_id=456775


in reply to Re: error messages
in thread error messages

Excellent answer. Just to be complete, this is the short version:
system("/my/shell/prog") && die "System failed: $!"