Help for this page

Select Code to Download


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