|
|
| P is for Practical | |
| PerlMonks |
Re: Best method to capture return code from system calls?by pbeckingham (Parson) |
| on Aug 24, 2005 at 14:38 UTC ( #486208=note: print w/ replies, xml ) | Need Help?? |
|
I use the following to return both the status and the captured STDOUT/STDERR. It is not as simple as just checking for non-zero return status - there are bits that must be ignored. Would someone please critique this approach? pbeckingham - typist, perishable vertebrate.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||