Help for this page
use XML::Simple; my $x = XMLin('myxmlfile.xml'); print "This costs: " . $x->{item}->{cost} ."\n";
<?xml version='1.0' encoding='iso-8859-1'?> <catalogue> ... <cost>£300</cost> </item> </catalogue>