use strict; use warnings; use XML::Simple; my $parser = XML::Simple->new; my $hash = $parser->XMLin("./file"); # I'm not quite certain what data structure # will appear. Use Data::Dump or Data::Dumper # to find out. # note that custom quotes is new, and will break # under early versions of Perl print qq| $hash->{item}->[0]->{title}