I recently downloaded and installed the latest stable Perl distribution for Win XP (MSI-Microsoft Installer) on my computer. I tried running a sample program and received the following error:
Can't locate XML/XPath.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib
Part of my code is as follows:
#!/usr/bin/perl -w
use strict;
use LWP::Simple qw /get/;
use XML::XPath;
# Defining parts of the REST request URL.
my $Path = "/onca/xml";
After installing Perl, I could not find XML/XPATH.pm in C:/Perl/lib or C:/Perl/site/lib
Any help would be appreciated.
Can't locate XML/XPath.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib
Part of my code is as follows:
#!/usr/bin/perl -w
use strict;
use LWP::Simple qw /get/;
use XML::XPath;
# Defining parts of the REST request URL.
my $Path = "/onca/xml";
After installing Perl, I could not find XML/XPATH.pm in C:/Perl/lib or C:/Perl/site/lib
Any help would be appreciated.