http://qs321.pair.com?node_id=858047


in reply to Re^3: Printing to a File from Sub
in thread Printing to a File from Sub

Not true. The problem is $fhout contains the number of elements in @_, not the filehandle. The syntax print {$fh} "out" is even recommended in PBP.