perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: APR::Table outside of modperl-2
Date Fri, 23 May 2003 04:42:19 GMT
Stas Bekman <stas@stason.org> writes:

> Joe Schaefer wrote:
> > Is it possible to use APR::Table outside of modperl2?
> > I've installed the latest modperl-2 from cvs, but no
> > symbols seem to be loaded into APR::Table during use():
> >   % perl -MApache2 -le 'use Apache::Table; print join ":",     keys
> > %{*APR::Table::{HASH}}'
> >   BEGIN:VERSION:import
> 
> first of all s/Apache::Table/APR::Table/, second you have to preload
> APR which boots the others:

SWEET! Thanks.

[...]

> Please suggest where it should better be moved? probably somewhere in
> http://perl.apache.org/docs/2.0/user/coding/apr.html?

Can I suggest adding this to the troubleshooting/runtime section?

Index: troubleshooting.pod
===================================================================
RCS file: /home/cvspublic/modperl-docs/src/docs/2.0/user/troubleshooting/troubleshooting.pod,v
retrieving revision 1.8
diff -u -r1.8 troubleshooting.pod
--- troubleshooting.pod 5 May 2003 02:43:49 -0000       1.8
+++ troubleshooting.pod 23 May 2003 04:38:21 -0000
@@ -134,6 +134,14 @@
 under mod_perl 2.0, as earlier CGI.pm versions aren't
 mod_perl 2.0 aware.

+=head2 APR symbols not loading when using the APR:: packages.
+
+Whenever using an APR:: package, you need to
+
+        use APR;
+
+in order to load the XS subroutines.
+
 =head1 Maintainers

 Maintainer is the person(s) you should contact with updates,


-- 
Joe Schaefer


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message