print { $files[$i] } "stuff\n"; print { $OK ? STDOUT : STDERR } "stuff\n"; [download]
In reply to Re^3: print to a filehandle by Anonymous Monk in thread print to a filehandle by dk