in reply to Error in compiling the code
If you use a module's methods without "use Module" statement, it gives a an error similar to the one given by you.
[samar@malena ~]$ perl -e 'LWP::Protocol::https::Socket->new()' Can't locate object method "new" via package "LWP::Protocol::https::So +cket" (perhaps you forgot to load "LWP::Protocol::https::Socket"?) at + -e line 1.
Is it the case?
|
|---|