Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: mod_perl debugging help

by saberworks (Curate)
on Jun 22, 2006 at 21:11 UTC ( [id://557022]=note: print w/replies, xml ) Need Help??


in reply to mod_perl debugging help

We are on mod_perl 1.x as well and we ran into a very similar problem. Code that was otherwise working well would throw the same UNDEFINED SUBROUTINE, MyPackage::handler called. It was plaguing us for months on many different production servers on many different clients' servers.

When I finally tracked it down, it was a block of code that was writing a Data::Dumper output to an Apache::Session::File object. When the session was written, we'd have this same issue, no error message except that one put in the logs.

In fact, further requests that hit the same apache subprocess would also have the same error.

Replies are listed 'Best First'.
Re^2: mod_perl debugging help
by MiggyMan (Sexton) on Jun 23, 2006 at 09:25 UTC
    While im not using Apache::Session::File I *am* using Data::Dumper and which isnt used in the modules that work flawlessly, since I dont need Data::Dumper i've removed it on the chance that it might be a similar issue with Data::Dumper and the mod_perl modules.

    Would be a shame though, damned usefull module is Data::Dumper!

    I'll let you guys know :D

    *Update* Data::Dumper is innocent! *Update*

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-20 03:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found