Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML::XPATH and XML/XPATH.pm help needed for newbie

Status
Not open for further replies.

newj777

Programmer
Sep 11, 2004
1
US
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.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top