Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

undefined subroutine: get_server_description, get_server_banner

Jeff Armstrong

2008-04-08

Replies: Find Java Web Hosting

Author LoginPost Reply
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

and
 Apache2::ServerUtil->user_id;
 Apache2::ServerUtil->group_id;

warn => Can't locate object method

Are the docs incorrect, or am I doing the wrong thing?

----
Other subs work ok: get_server_built get_server_version server_root

Debian stable (etch)
Apache/2.2.3
mod_ssl/2.2.3
OpenSSL/0.9.8c
mod_apreq2-20051231/2.6.0
mod_perl/2.0.2
Perl/v5.8.8


Many thanks,

Jeff
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.