print { $s->{out} } "test"; [download]
That's mentioned at the end of the print documentation.
In reply to Re: filehandle stored in hash-ref by moritz in thread filehandler stored in hash-ref by jeanluca