I\'m looking for an example of redirecting stdout to a file using Perl. I\'m doing a fairly straightforward fork/exec tool, and I want to redirect the child\'s output to a f
From perldoc -f open:
open STDOUT, '>', "foo.out"
The docs are your friend...