Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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]
[Discipulus]: was global var or global war?!?
[Discipulus]: hey doc, you said global var?!

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2017-04-29 21:07 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (534 votes). Check out past polls.