- or download this
use XML::Simple;
my $ref = XMLin( $xmlfile);
- or download this
<root>
<sub>
...
<b x="4">blah blah</b>
</sub>
</root>
- or download this
use XML::Rules;
...
rules => XML::Rules::inferRulesFromExample( $XML),
);
my $ref = $parser->parse( $XML);
- or download this
my $XML = <<'*END*';
<root>
...
my $ref = XMLin( $XML);
print Dumper($ref);
__END__
- or download this
my $XML = <<'*END*';
<root>
...
);
my $ref = $parser->parse( $XML);
print Dumper($ref);