in reply to Re: Parsing file in Perl post processing
in thread Parsing file in Perl post processing

Great solution (++).

adding a '+' to the regex eliminates trailing spaces in the values:

# = my %hash = map { $_, ($string =~ m/$_:(.+?)\s+$z/)} @keys; # =

        Software efficiency halves every 18 months, thus compensating for Moore's Law.