print {$fh{$record[0]}} $_; [download]
See print in perlfunc.
-- John.
In reply to Re: Hash values as filehandles by jmcnamara in thread Hash values as filehandles by thor