Help for this page
use strict; use warnings; ... close $outfh or die $!; rename $outputfile, $filename or die $!;