DOKK / manpages / debian 12 / libapache2-mod-perl2 / APR.3pm.en
libapache2-mod-perl2-2.0.12::docs::api::APR(3pm) User Contributed Perl Documentation libapache2-mod-perl2-2.0.12::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.

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'

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.

2022-10-20 perl v5.36.0