Help for this page
open(STDOUT,">tempfile.html",") or die $!;
use FileHandle; ... print $fh "blahblahblahblah\n";