I wouldn't use XML::XQL though. It is a rather old module, but most of all it is based on a query language that never became a standard. There is really no point in learning XQL nowadays. You would be much better of learning XPath, either using XML::XPath or (probably a better idea) XML::LibXML.