in reply to Print() on closed filehandle POE
open (POE, '> output_file') || die "can't open the output file $!\n"; ... ... close POE; [download]