On Nov 1, 11:17 pm, [EMAIL PROTECTED] (Rob Dixon) wrote: > Also the call to system() won't write anything to the file you've > opened as it's executed in a separate process: you need to capture the > output from host and print it from within the Perl program.
False. Child processes inherit their parent's STDIN, STDOUT, and STDERR. Try it and see for yourself, rather than telling the OP that his program is wrong. Paul Lalli -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/