Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Dumper Undefined

by orderamidchaos (Initiate)
on Oct 25, 2012 at 10:11 UTC ( #1000802=perlquestion: print w/ replies, xml ) Need Help??
orderamidchaos has asked for the wisdom of the Perl Monks concerning the following question:

I'm scratching my head on this one, so I hope you can help. I'm getting the following error in my Apache log:

Undefined subroutine &ModPerl::ROOT::ModPerl::Registry::...2epl::Dumper

I'm using:

use Data::Dumper::Simple;

Which is supposed to export the Dumper function by default. Could this be an issue with ModPerl and the fact that a source filter is used to automatically rewrite any apparent calls to Dumper()? Is there a workaround?

The point of using Data::Dumper::Simple is so that I can dump my variable names along with their values to the log.

Comment on Dumper Undefined
Select or Download Code
Re: Dumper Undefined
by Anonymous Monk on Oct 25, 2012 at 10:17 UTC

    Could this be an issue with ModPerl and the fact that a source filter is used to automatically rewrite any apparent calls to Dumper()?

    Probably. Try Data::Dumper::Names - Dump variables with names (no source filter)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1000802]
Approved by nemesdani
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2014-08-21 23:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (144 votes), past polls