system does not return the output of the called subprogram.
Use Backticks or qx if you want the output of a program:
my @output = `$cmd`;
In reply to Re: return the output to the Parent script
by Corion
in thread return the output to the Parent script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |