Solved

I need to install

Posted on 2004-08-15
2
148 Views
Last Modified: 2010-04-17
I need to install LWP::UserAgent.

I tried
       perl -MCPAN -e 'install LWP::UserAgent'

and got the error:
       Can't locate object method "install" via package "LWP::UserAgent" at -e line 1.

How can I install this? (the simpler the better!)

Thanks!


0
Comment
Question by:hankknight
2 Comments
 
LVL 2

Expert Comment

by:JerSchneid
Comment Utility
Try:

perl -MCPAN -e "install 'LWP::UserAgent'"
0
 
LVL 11

Accepted Solution

by:
Jase-Coder earned 500 total points
Comment Utility
You can type

perl -MCPAN -e shell
then type install <package_name>
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
mergeTwo  challenge 13 71
strCount chalenge 3 50
SUM 2 INTEGER ARRAYS INTO 1 10 56
how to update exe applicatio from internet ? 6 34
This article will show, step by step, how to integrate R code into a R Sweave document
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now