LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2006, 10:55 PM   #1
android6011
Member
 
Registered: May 2005
Posts: 255

Rep: Reputation: 30
perl not working


I am trying to run a perl script and this is what I get

Can't locate LWP/UserAgent.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at 1013.pl line 9.
BEGIN failed--compilation aborted at 1013.pl line 9.


how can I install whatever it is I am missing?
 
Old 08-05-2006, 11:10 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
As root:
cpan -i LWP::UserAgent

If you haven't run CPAN before, or your distro doesn't configure
it for you you may find that you have to answer a lot of questions
for an initial setup. :}


Cheers,
Tink
 
Old 08-06-2006, 12:53 AM   #3
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
that did it, thanks
 
Old 08-06-2006, 01:18 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
You're welcome :}

And, did CPAN bug you with initial set-up questions?

Btw, that tool interfaces with http://www.cpan.org (or one of
its mirrors - depending on your choices).


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cant get perl working with apache2 Garda Linux - Networking 1 09-28-2005 10:27 PM
PERL not working - CGI? redhatbeatswin Linux - Newbie 3 07-17-2004 05:17 PM
perl not working again!!! dsgdevil Linux - Software 19 07-15-2003 06:45 PM
my perl is not working, please help me rhuser Linux - Software 7 03-14-2003 01:12 PM
cant get perl working dsgdevil Linux - Software 2 02-12-2003 08:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration