- or download this
my $xml_obj = new XML::Smart( $xml ) ;
my $hash_when_cat_eq_special = ( $xml_obj->{list}{value}( 'category',
+'eq', 'special' )->pointer() );
- or download this
$hash_when_cat_eq_special will contain:
{
...
"instance" => 0,
},
}
- or download this
my $xml_obj = new XML::Smart( $xml ) ;
my $param_contents = $xml_obj->{list}{value}( 'category', 'eq', 'speci
+al' )->{parameter}->content();
- or download this
$param_contents will contain:
"nameofparameter1"