Also as:
my %data2 = "@lines" =~ /^(\w+).*?sum\s+([0-9.]+)/mg; [download]
In reply to Re^2: building a hash from regex matches by jwkrahn in thread building a hash from regex matches by polarbear