Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    $dom->at('id > b')->content( 'Foo' );
    $dom->at('id > a')->content( 'Bar' );
    say $dom->content;
    
  2. or download this
    Current value of c: NA
    Please specify node c content: 
    ...
          <c>derp</c>
       </id>
    </header>