Help for this page

Select Code to Download


  1. or download this
    use XML::Simple;
    
    ...
    if($monk->{vals}->{val}->{FOO}) {
      print $monk->{say}, "\n";
    }
    
  2. or download this
    use XML::XPath;
    use XML::XPath::XMLParser;
    ...
       my $say = $xp->findvalue('./say', $node);
       print "$say\n";
    }