Return-Path: Delivered-To: apmail-perl-docs-dev-archive@www.apache.org Received: (qmail 56155 invoked from network); 28 Jan 2009 04:39:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jan 2009 04:39:19 -0000 Received: (qmail 28722 invoked by uid 500); 28 Jan 2009 04:39:19 -0000 Delivered-To: apmail-perl-docs-dev-archive@perl.apache.org Received: (qmail 28640 invoked by uid 500); 28 Jan 2009 04:39:19 -0000 Mailing-List: contact docs-dev-help@perl.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list docs-dev@perl.apache.org Received: (qmail 28631 invoked by uid 99); 28 Jan 2009 04:39:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2009 20:39:18 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of adam.prime@utoronto.ca designates 128.100.132.147 as permitted sender) Received: from [128.100.132.147] (HELO bureau60.ns.utoronto.ca) (128.100.132.147) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2009 04:39:11 +0000 Received: from [192.168.2.192] (bas6-toronto12-1128538199.dsl.bell.ca [67.68.32.87]) (authenticated bits=0) by bureau60.ns.utoronto.ca (8.13.8/8.13.8) with ESMTP id n0S4cnRu031303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 27 Jan 2009 23:38:50 -0500 Message-ID: <497FE153.1080308@utoronto.ca> Date: Tue, 27 Jan 2009 23:38:43 -0500 From: Adam Prime User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: docs-dev@perl.apache.org Subject: [Fwd: Re: Apache::compat, perldoc modules?] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Should this page: http://perl.apache.org/docs/2.0/api/Apache/compat.html be removed, and links to it replaced with http://perl.apache.org/docs/2.0/api/Apache2/compat.html See, below Adam -------- Original Message -------- Subject: Re: Apache::compat, perldoc modules? Date: Tue, 27 Jan 2009 23:37:16 -0500 From: Adam Prime To: Mark Hedges CC: modperl@perl.apache.org References: Mark Hedges wrote: > Trying to get perldoc running in some fashion under Apache2 > with libapreq2. > > I thought I'd use Apache2::Pod::HTML but no luck: > > [Tue Jan 27 14:55:04 2009] [error] [client 70.143.68.29] > Can't locate object method "send_http_header" via package > "Apache2::RequestRec" at > /usr/lib/perl5/site_perl/5.8.8/Apache2/Pod/HTML.pm line > 173.\n send_http_header does not exist in the mod_perl2 api. Really, that's a bug in Apache2::Pod::HTML > Apache::Perldoc has the same problem: > > [Tue Jan 27 15:00:49 2009] [error] [client 70.143.68.29] > Can't locate object method "send_http_header" via package > "Apache2::RequestRec" at > /usr/lib/perl5/site_perl/5.8.8/Apache/Perldoc.pm line 8.\n > > So I thought I'd use Apache::compat even though this may > bork some of my other code, but no luck. This may be a > documentation error at > http://perl.apache.org/docs/2.0/api/Apache/compat.html, > which says: This file is, i think, outdated, and you should instead look at this: http://perl.apache.org/docs/2.0/api/Apache2/compat.html > # either add at the very beginning of startup.pl > use Apache2 > use Apache::compat; > # or httpd.conf > PerlModule Apache2 > PerlModule Apache::compat > > This stuff looks like documentation from before the API change that was updated with sed, but not really read. It should likely be removed. Adam --------------------------------------------------------------------- To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org For additional commands, e-mail: docs-dev-help@perl.apache.org