Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 33554 invoked from network); 23 Oct 2007 19:07:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Oct 2007 19:07:21 -0000 Received: (qmail 61803 invoked by uid 500); 23 Oct 2007 19:07:03 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 61790 invoked by uid 500); 23 Oct 2007 19:07:03 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 61779 invoked by uid 99); 23 Oct 2007 19:07:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 12:07:03 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of daniel.junkmail@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 19:07:07 +0000 Received: by nf-out-0910.google.com with SMTP id k4so1315147nfd for ; Tue, 23 Oct 2007 12:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=9N074TYWH6x4giSe4VSxzQZyRWTQrxDh5Xq0z68Cyss=; b=YcMosRXj0cd7lR03s49qMkNInCZ5rfIyJ+EkmiFBbRJGx6aSOEHDAJdl6J2uuo/17TE7h44BX7DWHxz1JC5+9AqVJAupRrm9ifSh3CEt1djWtn59K24bppRO0L3u08CH8/uYa/10sD+XZiShYRGKQJSSN6knbtZ+gH6L8mRDp8c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=S7k1rxMIYur22AVLmrJbKa850skxkLVnH3lS/0gt1WdSmcqrn80RoulkLLO3ApPNyFL57oZGLvFQQEBHeY91xKpB1c4rHQFIrnrLbdkK/dHQZRdQx3Rs9+KaqRNy2HkinX2FwBKEkoulFH1mNfdWvxwxSjIjPUTwXo3UA7TL/sQ= Received: by 10.86.72.15 with SMTP id u15mr4946318fga.1193166405017; Tue, 23 Oct 2007 12:06:45 -0700 (PDT) Received: by 10.86.92.12 with HTTP; Tue, 23 Oct 2007 12:06:43 -0700 (PDT) Message-ID: Date: Tue, 23 Oct 2007 15:06:43 -0400 From: "Daniel Corbe" To: "adam.prime@utoronto.ca" Subject: Re: Migrating from mod_perl 1.x to mod_perl 2.x Cc: modperl@perl.apache.org In-Reply-To: <20071023142254.39wlllnpuwfkskkc@webmail.utoronto.ca> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2125_30144758.1193166403803" References: <20071023142254.39wlllnpuwfkskkc@webmail.utoronto.ca> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2125_30144758.1193166403803 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline drwxr-xr-x 15 mysql wheel 1024 Oct 23 16:22 mod_perl-2.0.3 On 10/23/07, adam.prime@utoronto.ca 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 : > > > 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 > > > > > > ------=_Part_2125_30144758.1193166403803 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline drwxr-xr-x  15 mysql   wheel        1024 Oct 23 16:22 mod_perl-2.0.3

On 10/23/07, adam.prime@utoronto.ca < adam.prime@utoronto.ca> 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 < daniel.junkmail@gmail.com>:

> 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
>




------=_Part_2125_30144758.1193166403803--