in reply to filehandler stored in hash-ref
print {$s->{out}} "test"; [download]
# because @in = <$s->{in}> won't work my @in = readline($s->{in}); [download]