stas 2003/05/22 22:21:49 Modified: src/docs/2.0/user/troubleshooting troubleshooting.pod Log: start a section for APR usages outside of mod_perl Submitted by: Joe Schaefer <[EMAIL PROTECTED]> Revision Changes Path 1.9 +16 -0 modperl-docs/src/docs/2.0/user/troubleshooting/troubleshooting.pod Index: troubleshooting.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/troubleshooting/troubleshooting.pod,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- troubleshooting.pod 5 May 2003 02:43:49 -0000 1.8 +++ troubleshooting.pod 23 May 2003 05:21:49 -0000 1.9 @@ -134,6 +134,22 @@ under mod_perl 2.0, as earlier CGI.pm versions aren't mod_perl 2.0 aware. + +=head1 Issues with APR Used Outside of mod_perl + +It doesn't strictly belong to this document, since it's talking about +APR usages outside of mod_perl, so this may move to its own dedicated +page, some time later. + +Whenever using an C<APR::> package outside of mod_perl, you need to: + + use APR; + +in order to load the XS subroutines. For example: + + % perl -MApache2 -MAPR -le 'use APR::Table; use APR::Pool; \ + $table = APR::Table::make(APR::Pool->new, 2);' + =head1 Maintainers Maintainer is the person(s) you should contact with updates,
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]