P is for Practical | |
PerlMonks |
Re: Obtaining a return codeby infoninja (Friar) |
on May 18, 2000 at 20:34 UTC ( [id://13059]=note: print w/replies, xml ) | Need Help?? |
At least on a Unix box, system() will return the exit status of the system call:
results in $x set to 0 and $y set to 256 (as long as there's no executable called "blahblah" in $PATH).
In Section
Seekers of Perl Wisdom
|
|