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
In Section
Seekers of Perl Wisdom