Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Daemon problem: Can't locate object method "configure" via package "Net::HTTP"

by converter (Priest)
on Nov 08, 2008 at 15:42 UTC ( #722407=note: print w/replies, xml ) Need Help??

in reply to Daemon problem: Can't locate object method "configure" via package "Net::HTTP"

In the first error you listed, the Net::HTTP package wasn't defined so the method lookup failed. Other than a compilation failure, what could cause the package to go missing? LWP::Protocol::http requires Net::HTTP and would fail if compilation of that module failed, no?

Is it possible that you have an eval {} wrapper somewhere that's keeping your code from acting on an exception, or perhaps a __DIE__ handler that's doing the wrong thing?

  • Comment on Re: Daemon problem: Can't locate object method "configure" via package "Net::HTTP"

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://722407]
[usemodperl]: Because the audience for my apps have old, locked down versions of perl that can't install modules or update perl and now all that is horribly broken without HTTP. Of course I can go outside Perl anytime but that impacts portability
[usemodperl]: I can find cpan mirrors on http but not with plain files, only tar.gz, does something like meta exist on http?
[marto]: run your own mirror minicpan
[marto]: or just fatpack/package your apps
[Corion]: usemodperl: No. I think your approach to "downloading modules" is horribly misguided. I recommend you use the standard tools, and/or move your own tools to standard interfaces. Or maybe just set up your own plaintext mirror if that's what you need.
[Corion]: usemodperl: If your "audience" runs old, locked-down computers that can connect to the outside world, they shouldn't install random stuff from CPAN. Especially, as many modules on CPAN don't work with 5.005_004 anymore.
[usemodperl]: downloading modules is wrong? oh dear...
[usemodperl]: just answer my question without judging me or my technique, if that's possible around here anymore, sheesh

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2018-06-24 16:19 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.