in reply to Re: building a hash from regex matches
in thread building a hash from regex matches

Also as:

my %data2 = "@lines" =~ /^(\w+).*?sum\s+([0-9.]+)/mg;