mod-perl-registry

How do I add a script specific lib path in mod_perl?

I'm trying to migrate CGI scripts to mod_perl using ModPerl::Registry. The scripts use modules that are in the same directory as the script, but since mod_perl current directory is elsewhere, that doesn't work. I tried using FindBin to add on to the @INC, but here's what FindBin looks like: $FindBin::Bin: /usr/sbin $FindBin::Script: h...

Dumping mod_perlified variables--what's the local namespace?

I have a mod_perl script: use strict; use warnings FATAL => 'all'; use 5.010001; my $face = 'ugly'; use Data::Dump qq(pp); die pp($ModPerl::ROOT::ModPerl::Registry::C_3a_www_test_2epl::face); It dies undef at C:/www/test.pl line 8. I was expecting "ugly" at C:/www/test.pl line 8. If instead I die pp(%ModPerl::ROOT::ModPerl::Regis...

No coverage for runtime with Devel::Cover and ModPerl::Registry

When I'm running Devel::Cover with ModPerl::Registry, I get no coverage info except for BEGIN blocks. When I'm running the same script with Devel::Cover from command line or as a CGI, everything works alright (obviously). How can I make Devel::Cover "see" my code being executed in the runtime? Here's Devel::Cover related stuff in my ht...