http://qs321.pair.com?node_id=83244


in reply to Re: Re: Parsing Challenge
in thread Parsing Challenge

It does not pick up the last value for the last key, should have tested it better. I also think that your version is more readable. Though I would leave out the = from the key.

$hash{$1} = $2 while ($data =~ /(\w+)=((\w+( |$)+)+)/g);

Have Fun