in reply to return the output to the Parent script
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`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: return the output to the Parent script
by Anonymous Monk on Sep 22, 2008 at 09:04 UTC | |
by Corion (Patriarch) on Sep 22, 2008 at 09:11 UTC | |
by Anonymous Monk on Sep 22, 2008 at 10:00 UTC | |
by Corion (Patriarch) on Sep 22, 2008 at 10:14 UTC | |
by moritz (Cardinal) on Sep 22, 2008 at 09:23 UTC |