- 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();
}
- 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();
}
- or download this
$VAR1 = {
'bk111' => {
...
}
};