- or download this
...
<inventors type="array">
...
</inventor>
</inventors>
...
- or download this
my $xml_to_hash = XMLin($xml_file,
#ForceArray => 0,
#KeyAttr => {},
);
- or download this
$VAR1 = {
'inventors' => {
...
},
'type' => 'array'
},
- or download this
$VAR1 = {
'inventors' => [
...
'type' => 'array'
}
], ...
- or download this
foreach my $inventors(%{$xml_to_hash->{inventors}}){
if ($inventors->{inventor}->{number}->{content} == 1){
print $inventors->{inventor};
}
}
- or download this
foreach my $inventor(%{$xml_to_hash->{inventors}->{inventor}}){
if ($inventor->{number}->{content} == 1){
print $inventor;
}
}