For the complete documentation index, see llms.txt. This page is also available as Markdown.
XPath
require('XML::XPath')var x =%O<XML::XPath>.new(ARGF.slurp)[x.findnodes('//item[1]')][0]say [x.findnodes('//price')].map{x.getNodeText(_)}[x.findnodes('//name')]