laziness, impatience, and hubris | |
PerlMonks |
Re: return value from system call, exit status, shift right 8, bitwise and, $?by bot403 (Beadle) |
on Feb 11, 2010 at 15:24 UTC ( [id://822670]=note: print w/replies, xml ) | Need Help?? |
Others have covered your original question pretty well so I'll just chip in that I'm a fan of this construct in my code to get both the output and the RC. This doesn't quite cover all the bases but can be expanded to do so.
In Section
Seekers of Perl Wisdom
|
|