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

Changes for version 0.98_03

  • construct Perl interperter the first time perl_startup is called rather than the second: -slapped self upside head wondering why I did not do this before -now -DAPACHE_SSL for Stronghold or Ben-SSL does not matter -<Perl></Perl> sections work again -ugly avoid_first_alloc_hack is gone!
  • added `ENVIRONMENT' section to mod_perl.pod
  • added `PerlSetEnv' configuration directive
  • back to only PerlHandler enabled by default
  • if STATIC=1 is configured during 'perl Makefile.PL', Apache::Constants will also be linked static. This is the default on aix and bsdos.
  • $r->register_callback will now save a pointer to the request_rec rather than doing it in PerlTransHandler
  • applied patch from Martin Pool <m.pool@pharos.com.au> so we see the real line number if something goes wrong in an Apache::Registry script
  • now add -I./ and -I$Config{archlibexp}/CORE to EXTRA_CFLAGS for mod_include integration

Changes for version 0.98_02

  • $r->send_http_header now resets $r->status to 200 after calling send_http_header() to squash double header w/ Location: bug spotted by Jonathan Lieberman
  • added $r->cgi_header_out so we can _really_ send headers the way mod_cgi does (e.g. Set-Cookie bug spotted by Jonathan Lieberman)

Changes for version 0.98_01

  • made room for args in perl_call_handler() for mod_include integration in the future, this can be used to pass arguments to Perl*Handlers:
    • PerlHandlerArgs Package::sub_name OneArg TwoArg RedArg BlueArg
  • split out some config routines from mod_perl.c to config.c
  • fixed bug in Apache/Makefile.PL thanks to Jeff Rowe
  • now use translate slot to do some initialization
  • Perl*Handlers can now be anonymous subs (need 5.003_98+), e.g.:
    • PerlFixupHandler "sub { shift->header_out(Key => 'val') }"
  • finally get cleanups right:
  • PerlCleanupHandler is now run during PerlLogHandler
  • new method $r->register_cleanup uses register_cleanup underneath and is always available
  • @INC is now reset to default after each request
  • fixed "const char *" bug in typemap spotted by Honza Pazdziora

Documentation

Embed a Perl interpreter in the Apache server

Modules

Perl interface to the Apache server API
Constants defined in httpd.h
Utilities for debugging embedded perl code
OPT_* defines from httpd_core.h
Run unaltered CGI scrips under mod_perl
Embedded interpreter status information
Install Apache mod_perl and related modules

Provides

in lib/Apache/CGI.pm
in lib/Apache/CGI.pm