The return code for system is only a code for success or failure.$sample = `./my_command`;
--Bob Niederman, http://bob-n.com
All code given here is UNTESTED unless otherwise stated.
In reply to Re: assigning system command output to a variable
by bobn
in thread assigning system command output to a variable
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |