If you want the output of a command, which is not really a "return value", then look at Backticks or the qx operator. Both will return you the output of the command. The exit status of the command will still be stored in $?.
In reply to Re: getting multiple return values from system()
by Corion
in thread getting multiple return values from system()
by handarbyte
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |