Think about Loose Coupling | |
PerlMonks |
Re: How to Trap exit code from system callsby geektron (Curate) |
on Jan 21, 2004 at 16:00 UTC ( [id://322917]=note: print w/replies, xml ) | Need Help?? |
system() will return zero on success or nonzero on failure.
you can examine the return value in $?. perldoc -f system is your friend. :-)
In Section
Seekers of Perl Wisdom
|
|