http://www.perlmonks.org?node_id=868136


in reply to Re^2: XPath command line utility...
in thread XPath command line utility...

On the subject, the "linked" document says

Matt Sergeant's fine XML::XPath module provides a way access the contents of XML documents using the W3C-recommended XPath Language. This module also installs a Perl utility called xpath

So install XML::XPath.

$ cpan XML::XPath ... Installing /home/eric/usr/perlbrew/perls/perl-5.12.2/bin/xpath ...