Syntactic Confectionery Delight | |
PerlMonks |
Re: How to Trap exit code from system callsby Fletch (Bishop) |
on Jan 21, 2004 at 16:12 UTC ( [id://322924]=note: print w/replies, xml ) | Need Help?? |
If you read perldoc -f open carefully: Closing any piped filehandle causes the parent process to wait for the child to finish, and returns the status value in $?.
In Section
Seekers of Perl Wisdom
|
|