Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

I need to install

Posted on 2004-08-15
2
Medium Priority
?
155 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 2000 total points
ID: 11803985
You can type

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

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Introduction to Processes

927 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