Bug#380296: libapache-mod-perl: Apache::Util functions are unavailable outside of requests

Gunnar Wolf gwolf at gwolf.org
Fri Jun 6 15:29:13 UTC 2008


tags 380296 + wontfix
severity 380296 minor
thanks

Hi,

(only as a note: libapache-mod-perl has been replaced by
libapache2-mod-perl2, which has quite a different API. You might want
to check the porting/compatibility guide [1]).

mod_perl is not self-sufficient - it is a mere window to Apache's
API. Some of its functions can be called without Apache loaded, but
it's more an exception than a rule. In the specific case you are
requesting, the new API even requires $r->pool to be passed as this
function's first argument.

This bug cannot be fixed, as it just jumps over mod_perl's design
criteria. 

[1] http://perl.apache.org/docs/2.0/user/porting/compat.html

[2] http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Util__ht_time___

-- 
Gunnar Wolf - gwolf at gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF





More information about the pkg-perl-maintainers mailing list