After installing the XML::Schematron::XPath module from CPAN I am getting the "Can't locate XML/XPath.pm in @INC) message.
]$sudo ls /usr/lib/perl5/site_perl/5.10.0/XML/
ESISParser.pm Filter Handler Parser PatAct Perl2SAX.pm SAX2Perl.pm Schematron Schematron.pm Validator
There is the Schematron directory, and inside of it is XPath.pm.
Why is it looking for XML/XPath.pm when I clearly state in my perl script:
use XML::Schematron::XPath;
@INC: /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .