in reply to
Piping output into a log file
You could also try:
system($command . ' >> ' . $someFile);
[download]
You don't need to open $logFile thts way, unless you need $logFile further on in the program for some reason.
Comment on
Re: Piping output into a log file
Download
Code
In Section
Seekers of Perl Wisdom