in reply to Dereference a reference to a file handle created with IO::File
Refer print:
FILEHANDLE may be a scalar variable containing the name of or a reference to the filehandle,...
UPDATE: Changed emphasis per Tobyink (below)
Bill
In Section
Seekers of Perl Wisdom