Nick Tonkin wrote:
I have
use Apache::RequestRec;
use Apache::RequestUtil;
[ ... ]
$server_name = $r->server_name;
This fails with:
Can't locate object method "server_name" via package "Apache::RequestRec"
(even though server_name() is in RequestUtil ...)
I will try to test a bit but I may have to focus on getting a 1.x
installation built on this box ...
no, it's get_server_name():
use Apache::RequestUtil;
$server_name = $r->get_server_name;
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com