Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://895879]
help
Chatterbox?
[1nickt]: choroba I'm trying to make a cpanfile for pm-cb ... how to handle the MCE vs Thread::Queue question? Maybe with on 'build' => sub { if ($threaded_perl) { requires 'Thread::Queue' } else { requires 'MCE' } ?
choroba isn't sure
[choroba]: I plan to break the monolith into modules and create a CPAN App distribution, but I haven't expolored the details yet

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2017-10-18 13:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (244 votes). Check out past polls.

    Notices?