Page 1 of 1

error running a Perl script that uses LWP::Simple

PostPosted: 14. April 2008 02:32
by MrMember
When I try to run the script I get this error:

Can't locate object method "new" via package "IO::Socket::INET" (perhaps you forgot to load "IO::Socket::INET"?) at C:/xampp/perl/lib/LWP/ line 162.

I have current versions of both XAMPP and the Perl Module, any ideas on how I could fix this?

PostPosted: 17. April 2008 03:33
by MrMember
I figured it out, in case someone runs into this same problem (well actually I didn't, my professor did).

If you delete xampp/perl/site/lib/ it should work.