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

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.

Comment on Re: Stuck trying to implement
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2016-02-07 13:53 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (253 votes), past polls