in reply to Re: Can I print the result to a file
in thread Can I print the result to a file

Or instead of reopening STDOUT you can change the format name to the name of the filehandle you want to print out to.

open (FOO, "foo"); format FOO= blah blah write FOO;

This will assume that you want to print format FOO to the filehandle FOO.

Cheers