in reply to capture system output

This work:
system("wget -o file http://www.perlmonks.org");
You can try the tap function at the Sysadm::Install module.

Replies are listed 'Best First'.
Re^2: capture system output
by ambrus (Abbot) on Jan 18, 2006 at 21:18 UTC

    I think it's rather

    system("wget -O file http://www.perlmonks.org");
    (note the capital O).

    Update: on second thought, maybe it isn't. Depends on what you want to capture.

Re^2: capture system output
by Galen (Beadle) on Jan 18, 2006 at 20:52 UTC
    I have the file output within wget working, but it is harder to manipulate the output that way. I'll try tap, thanks.