in reply to hash element as file handle

Hello,

You can always use object notation, too:

$files{$1}->print("$2 $3\n")

regards,