Scroll to navigation

libapache2-mod-perl2-2.0.11::docs::api::APR(3pm) User Contributed Perl Documentation libapache2-mod-perl2-2.0.11::docs::api::APR(3pm)


APR - Perl Interface for Apache Portable Runtime (libapr and libaprutil Libraries)


  use APR ();


On load this modules prepares the APR environment (initializes memory pools, data structures, etc.)

You don't need to use this module explicitly, since it's already loaded internally by all "APR::*" modules.

Using APR modules outside mod_perl 2.0

You'd use the "APR::*" modules outside mod_perl 2.0, just like you'd use it with mod_perl 2.0. For example to get a random unique string you could call:

  % perl -MAPR::UUID -le 'print APR::UUID->new->format'

See Also

mod_perl 2.0 documentation.


mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.


The mod_perl development team and numerous contributors.

2021-02-22 perl v5.32.1