in reply to Re: How to analyse structured data to get a hash
in thread How to analyse structured data to get a hash
And even if it isn't XML, you could jam it into XML in order to take advantage of existing XML parsing facilities. To wit:
use XML::Simple; while (<>) { chomp; my $hashref = XMLin("<$_/>"); ... }
|
|---|