Gossamer Forum
Home : General : Perl Programming :

Perl help needed...LWP

Quote Reply
Perl help needed...LWP
My server doesn't have LWP installed, or from what I can tell libwww, so I put it in my cgi-bin. It does have perl5.00502 installed.
on a line in a site searcher script
$ua = new LWP::UserAgent;
I get the error
Can't locate object method "new" via package "LWP::UserAgent"
I thought "new" was creating a new object, not a method. Can someone help me get past this? Please.... #:^}
Quote Reply
Re: Perl help needed...LWP In reply to
Your right, it doesn't have LWP. Smile

You can get it from:

http://www.perl.com/...www-perl-5.42.tar.gz

But you might need your ISP to set it up for you.

Cheers,

Alex
Quote Reply
Re: Perl help needed...LWP In reply to
Hello,

I'm having trouble getting LWP to work?
My host tells me it's the newest LWP installed, but I get the following error:

CGI ERROR
==========================================
Error Message : Fatal error: (in cleanup) Can't access 'DESTROY' field in LWP::Parallel::UserAgent::Entry object at nph-verify.cgi line 43

Script Location : nph-verify.cgi
Perl Version : 5.00404


Has anyone else experienced this?
Is there SOME way to fix it? Is there a SPECIFIC version of LWP that must be used?

Thanks in advance...

-Brett

------------------
-Brett
http://www.thedreamtime.com
Numerology / Astrology
Quote Reply
Re: Perl help needed...LWP In reply to
I receive the same error. How did you fixed it?