Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Stuck trying to implement

by bulk88 (Priest)
on Dec 27, 2013 at 02:44 UTC ( #1068469=note: print w/replies, xml ) Need Help??

in reply to Stuck trying to implement

Some generic observations since I dont do webdev, mod_perl seems to be written in mostly XS.
perl -MData::Dumper -e "print Dumper(\%main::);"
The sub is simply not defined. Most normal modules have subs living in typeglobs . "*Apache2::ServerUtil::restart_count{CODE}" returns a ref to a sub. You can also use Devel::Peek's Dump() command if Data::Dumper isn't detailed enough. You are probably missing a "require Foo;" or "use Foo;" somewhere. In very rare cases, one piece of code, is monkey patching, or local()izing the glob or the glob's CODE slice, and removing the sub/xsub from view permanently or temporarily. In other rare cases modules use AUTOLOAD to bring a sub into existence the first time it is called.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1068469]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2018-05-25 00:20 GMT
Find Nodes?
    Voting Booth?