use XML::Simple; my $xml = XMLin($xmlfile); my @items = @{$xml->{Item}}; print "Contains: ".Dumper(@items); #### $VAR1 = { 'Price' => '24.9899997711', 'SmallImageURL' => 'http://images.iwoot.com/thumbs/20qpuz_thu.jpg', }; $VAR2 = { 'Price' => '24.9899997711', 'SmallImageURL' => 'http://images.iwoot.com/thumbs/8bunju_thu.jpg', }; $VAR3 = { 'Price' => '24.9899997711', 'SmallImageURL' => 'http://images.iwoot.com/thumbs/DISRIF_thu.gif', };