http://modperl2book.org/ As with any major upgrade,
there are new features and key changes to mod_perl from the 1.x generation.
The mod_perl 2 User's Guide explains these key changes and demonstrates
the tools that you can use to port modules and migrate your existing code.
Improvements in Apache 2 and mod_perl 2 include:
Multi-Processing Model modules (MPMs) allow for process-based and
thread-based processing models. The addition of thread support
makes mod_perl viable on Win32 and introduces the potential for improved
performance on other platforms.
Protocol Modules give Apache and mod_perl
the potential to serve any protocol,
not just HTTP.
A mod_perl 2 interface to the Apache filtering API gives full
access to input and output filters from Perl.
Support for creating custom Apache configuration directives in pure
Perl, improved
options for passing values to Perl modules from Apache,
and greater access to the Apache configuration values.
The Apache::Test testing framework, useful for Perl and non-Perl
Apache modules, allows you to develop fully-tested web applications
to verify features and guard against regression.
The ability to easily subclass ModPerl::Registry and override methods
as needed.
http://perlbuzz.com/2007/09/interview-with-jim-brandt-coauthor-of-mod-perl-2-u.html Andy: You say that mod_perl 2 is the future, but what if I've got a perfectly good, working stable app running under Apache 1 and mod_perl 1. Staying on mod_perl 1 is certainly building up technical debt, but what does mod_perl 2 give me for my troubles? ...