The return value is the exit status of the program as returned by the "wait" call. To get the actual exit value, shift right by eight (see below).
Or maybe you want the $? variable (see perldoc perlvar for details).
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg
In reply to Re: return values with system()
by davorg
in thread return values with system()
by jason
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |