in reply to Re: Correct way to capture command output to a file in Perl.
in thread Correct way to capture command output to a file in Perl.
But I would not do it like that as in the error-case it is more difficult to determine what went wrong (e.g. the command you call may be able to run, but may not be able to write to the file).
|
|---|