Solved

I need to install

Posted on 2004-08-15
2
149 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
ID: 11803926
Try:

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

Accepted Solution

by:
Jase-Coder earned 500 total points
ID: 11803985
You can type

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

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

773 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