Galen has asked for the wisdom of the Perl Monks concerning the following question:
But this doesn't work:system("dir>file");
When I try the wget, output is to the terminal rather than a file.system("wget http://www.perlmonks.org>file");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: capture system output
by explorer (Chaplain) on Jan 18, 2006 at 20:41 UTC | |
by ambrus (Abbot) on Jan 18, 2006 at 21:18 UTC | |
by Galen (Beadle) on Jan 18, 2006 at 20:52 UTC | |
|
Re: capture system output
by Fletch (Bishop) on Jan 18, 2006 at 21:05 UTC | |
by Galen (Beadle) on Jan 18, 2006 at 22:15 UTC | |
by Fletch (Bishop) on Jan 18, 2006 at 22:37 UTC | |
by ikegami (Patriarch) on Jan 18, 2006 at 22:48 UTC | |
by brian_d_foy (Abbot) on Jan 19, 2006 at 03:28 UTC |