Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Error in compiling the code

by samarzone (Pilgrim)
on Mar 28, 2011 at 10:28 UTC ( #895879=note: print w/ replies, xml ) Need Help??


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?

--
Regards
- Samar


Comment on Re: Error in compiling the code
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://895879]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2014-12-25 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls