The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 1.13

  • fix Makefile.PL setting of numeric $User/$Group for 'make test'
  • Michael K. Sanders <msanders@confusion.net>
    • giving PERL_STASH_POST_DATA=1 to Makefile.PL will save read(STDIN, ...)/$r->read data in $r->subprocess_env for logging
    • added Apache::Log module (enable with PERL_LOG_API=1 or EVERYTHING=1)
    • add mod_perl.pm_version so CPAN.pm can 'install mod_perl' again
    • ensure Apache::Server::CWD is untainted
    • add support to compile with -DPERL_OBJECT (win32 + 5.004_73+)
    • add dir_merge support for directive handlers
    • $r->print/print will dereference \$scalar refs to strings so scripts can avoid string copies when sending data to the client, e.g. print \$large_string
    • set $0 to .conf file name when inside <Perl> sections
    • fixed $r->subprocess_env bug introduced in 1.12, spotted by Ken Williams
    • '*CORE::GLOBAL::exit = \&Apache::exit' for 5.005-tobe+ Perls
    • perl_startup will now call perl_init_i18nl10n(1), for 'use locale'
    • Makefile.PL will now set CFLAGS="$PERL_EXTRA_CFLAGS" with USE_APACI=1 thanks to help from Vivek Khera
    • improve support for Makefile.PL USE_APXS=... to generate modperl.config
    • add PERL_TIE_TABLES and PERL_DIRECTIVE_HANDLERS to EVERYTHING=1 group
    • add some casts to avoid warnings from const char changes in 1.3.1-dev
    • write_client will break out of it's loop if rwrite returns a -1 error condition, which could cause spinning httpds otherwise
  • Eric Eisenhart <eric@sonic.net>
    • properly default $Apache::Registry::NameWithVirtualHost=1, thanks to spot by Ryan A. Whelan
    • fix tied $r->err_headers_out cut-n-pasto [Peter Kaas <Peter.Kaas@lunatech.com>]
    • Apache::read_client_block will now use safemalloc/safefree, rather than palloc, so memory is released after each read(), rather than at the end of a request. (e.g. so file uploads don't cause too much growth)
    • Added mod_perl_method_handlers.pod file, a little article about using perl objects with modperl. [ ask@netcetera.dk ]
    • Apache::Registry will now save END blocks just after the script is compiled, instead of after the subroutine call. otherwise, if the client breaks the connection, the hard_timeout will jump out of perl_handler(), and the save will never happen. Thanks to Robert Nice and Ben Laurie for spotting this.
    • bug fix so PATH_INFO is properly reset, thanks to David Sklar for the spot

Documentation

using LWP::Simple and Benchmark.pm to benchmark mod_perl
benchmark mod_perl vs. CGI with File::CounterFile
First steps needed to use mod_perl as a CGI replacement
accessing the Apache API via mod_perl ($Date: 1998/03/19 23:08:34 $)
running CGI scripts under mod_perl ($Date: 1998/05/28 21:55:33 $)
frequently asked questions about mod_perl ($Date: 1998/07/01 23:16:23 $)
Embed a Perl interpreter in the Apache HTTP server
Access to the mod_perl CVS development tree
How to use mod_perl's MethodHandlers
common/known mod_perl traps
mod_perl performance tuning

Modules

Perl interface to the Apache server API
Constants defined in apache header files
Interface to Apache logging
Things for symbol things
Tie interfaces to Apache structures
Utilities for debugging embedded perl code
Utils for Apache:C/Perl glue
Utilities for mod_perl/mod_include integration
OPT_* defines from httpd_core.h
Run unaltered CGI scripts under mod_perl
Utilities for work with <Perl> sections
Properly set redirect status for loggers
Run unaltered CGI scrips under mod_perl
Compile Apache::Registry scripts at server startup
Limit resources used by httpd children
Override apache signal handlers with Perl's
Reload %INC files when updated on disk
Embedded interpreter status information
Override Perl's built-in fork()
Generate an httpd.conf file
Methods for locating and parsing bits of Apache source code
Install Apache mod_perl and related modules

Provides

in lib/Apache/FakeRequest.pm
in ModuleConfig/ModuleConfig.pm
in lib/Apache/httpd_conf.pm
in lib/Apache/test.pm
in lib/Apache/Registry.pm
in lib/mod_perl.pm.PL