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.

Replies are listed 'Best First'.
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)