Help for this page

Select Code to Download


  1. or download this
       # into the sub 'twig_handler' '/DatatoParse/elt'
       $_[1]->first_child('Nest1')->first_child('elt')->first_child('Junk1
    +')->text;
    
  2. or download this
       my @junk1 =  $_[1]->get_xpath('./Nest1/elt/Junk1');
             print $junk1[0]->text;
    
  3. or download this
    sub elt_map{
        my $elt = $_[1];
    ...
                              ));
        print "\n"
    }
    
  4. or download this
    use strict;
    use warnings;
    ...
    <elt>
     <d1>TV show 1</d1>
     ....
    
  5. or download this
    TV show 1,Heroes,FULL,Page 65,-2,-3,5,8,yipppeee
    TV show 2,Prison Break,FULL,Page 65,-2,-3,5,8,yipppeee
    TV show 4,Alias,FULL,Page 65,-2,-3,5,8,yipppeee