http://perl.apache.org/docs/2.0/user/porting/porting.html
$r->method should be a part of Apache2::RequestRec though. what
version of mod_perl 2 are you using?
Adam
Quoting Daniel Corbe <[EMAIL PROTECTED]>:
Hello,
We're trying to upgrade a web application from Apache 1.3.x to Apache
2.2.x(and thus from mod_perl
1.x to mod_perl 2.x) and we're having trouble with the basics at the moment:
[Tue Oct 23 17:42:12 2007] [error] [client 207.241.167.7] Can't locate
object method "method" via package "Apache2::RequestRec" at
/usr/local/billing/WCI/Router/FreeSWITCH.pm line 69.\n
The offending line:
if ($request->method() eq "POST")
I did make sure Bundle::Apache2 was fully installed; however, no luck.
Can anyone point me to a good document on migrating?
Thanks.
-Daniel