Author Login
Post Reply
Quoting Jeff Armstrong <modperl@(protected)>:
> Folks,
>
> <http://perl.apache.org/docs/2.0/api/Apache2/ServerUtil.html#C_get_server_description_> indicates that I should be
> able
> to:
> $description = Apache2::ServerUtil::get_server_description();
>
> however, I find that
> Apache2::ServerUtil::get_server_description();
> Apache2::ServerUtil::get_server_banner();
>
> warn => Undefined subroutine
>
Those functions were added in 2.0.4, which is currently in RC, as the
docs indicate. If you install the 2.0.4 RC1 (see:
http://marc.info/?l=apache-modperl&m=120760945808543&w=2)
> and
> Apache2::ServerUtil->user_id;
> Apache2::ServerUtil->group_id;
>
> warn => Can't locate object method
>
Those functions were added in 2.0.3, as the docs indicate. If you
upgrade to 2.0.3, they should work.
Adam