This is a hacked version of Devel::Peek that works with mod_perl. It doesn't work with all configurations. See the pod in the auto-generated Peek.pm for more info. For mod_perl 1.0 do: perl Makefile.PL MOD_PERL=1 -httpd /path/to/apache-1.3/bin/httpd make make test make install For mod_perl 2.0 do: perl Makefile.PL MOD_PERL=2 make make test make install Alternatively set the env var MOD_PERL to 1 or 2, before running Makefile.PL, e.g.: bash: MOD_PERL=2 perl Makefile.PL make && make test && make install csh: env MOD_PERL=2 perl Makefile.PL make && make test && make install