XML-Parser-Style-EasyTree

 view release on metacpan or  search on metacpan

ex/test.pl  view on Meta::CPAN


my $hash = $parser->parse(
	q{<root at="key">
		<nest>
			<!-- something commented -->
			first
			<v>a</v>
			mid
			<!-- something commented -->
			<v at="a">b</v>
			<vv><![CDATA[ cdata <<>> content ]]></vv>
			last
		</nest>
	</root>},
);
print +Dumper $hash;



( run in 0.649 second using v1.01-cache-2.11-cpan-454fe037f31 )