Author: stas Date: Thu Dec 2 16:46:50 2004 New Revision: 109606 URL: http://svn.apache.org/viewcvs?view=rev&rev=109606 Log: fix the example
Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache/ServerUtil.pod Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache/ServerUtil.pod Url: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/api/Apache/ServerUtil.pod?view=diff&rev=109606&p1=perl/modperl/docs/trunk/src/docs/2.0/api/Apache/ServerUtil.pod&r1=109605&p2=perl/modperl/docs/trunk/src/docs/2.0/api/Apache/ServerUtil.pod&r2=109606 ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/api/Apache/ServerUtil.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/api/Apache/ServerUtil.pod Thu Dec 2 16:46:50 2004 @@ -213,7 +213,7 @@ code at the server startup: $base_server_pool = Apache::ServerUtil::base_server_pool(); - $base_server_pool->cleanup_register(do_my_cleanups()); + $base_server_pool->cleanup_register(\&do_my_cleanups); It's necessary to run this code at the server startup (normally F<startup.pl>. Cleanup handlers registered after the --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]