Help for this page

Select Code to Download


  1. or download this
    my %books;
    my $twig= new XML::Twig(
    ...
        $books{$id}{'price'         } = $book->first_child('price'       )
    +->text();
        $books{$id}{'publish_date'  } = $book->first_child('publish_date')
    +->text();
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
        $books{$id}{'price'         } = $book->first_child('price'       )
    +->text();
        $books{$id}{'publish_date'  } = $book->first_child('publish_date')
    +->text();
    }
    
  3. or download this
    $VAR1 = {
              'bk111' => {
    ...
                       }
            };