Well I threw a "use Apache2::compat" into the top of my file there, it runs
now.  I'll look at the rest of the proting guide later.
Thanks.

-daniel


On 10/23/07, Daniel Corbe <[EMAIL PROTECTED]> wrote:
>
> drwxr-xr-x  15 mysql   wheel        1024 Oct 23 16:22 mod_perl-2.0.3
>
> On 10/23/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:
> >
> > 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
> > >
> >
> >
> >
> >
>

Reply via email to