in reply to Print() on closed filehandle POE

Most likely you did not open it to begin with, check if you have this:
open (POE, '> output_file') || die "can't open the output file $!\n"; ... ... close POE;