while (<FILE>) { my %data; chomp; @data{@keys} = split /\t/; # then call subroutine } [download]
In reply to Re: Mapping to an associative hash by Thelonius in thread Mapping to an associative hash by THRAK