Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Docs-dev
[Fwd: Re: Apache::compat, perldoc modules?]
 

Index | Next | Previous | View Flat


adam.prime at utoronto

Jan 27, 2009, 8:38 PM


Views: 2061
Permalink
[Fwd: Re: Apache::compat, perldoc modules?]

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 <adam.prime[at]utoronto.ca>
To: Mark Hedges <hedges[at]scriptdolphin.org>
CC: modperl[at]perl.apache.org
References: <alpine.DEB.1.10.0901271517160.1025[at]li16-163.members.linode.com>

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

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[at]perl.apache.org
For additional commands, e-mail: docs-dev-help[at]perl.apache.org

Subject User Time
[Fwd: Re: Apache::compat, perldoc modules?] adam.prime at utoronto Jan 27, 2009, 8:38 PM
    Re: [Fwd: Re: Apache::compat, perldoc modules?] pgollucci at p6m7g8 Jan 27, 2009, 9:45 PM
        Re: [Fwd: Re: Apache::compat, perldoc modules?] adam.prime at utoronto Jan 28, 2009, 4:42 PM
            Re: [Fwd: Re: Apache::compat, perldoc modules?] pgollucci at p6m7g8 Jan 28, 2009, 6:11 PM
                Re: [Fwd: Re: Apache::compat, perldoc modules?] adam.prime at utoronto Jan 28, 2009, 7:18 PM
                Re: [Fwd: Re: Apache::compat, perldoc modules?] adam.prime at utoronto Jan 28, 2009, 7:42 PM
                    Re: [Fwd: Re: Apache::compat, perldoc modules?] adam.prime at utoronto Jan 28, 2009, 7:54 PM
                        Re: [Fwd: Re: Apache::compat, perldoc modules?] pgollucci at p6m7g8 Jan 28, 2009, 8:19 PM
                            Re: [Fwd: Re: Apache::compat, perldoc modules?] adam.prime at utoronto Jan 28, 2009, 8:25 PM
                                Re: [Fwd: Re: Apache::compat, perldoc modules?] pgollucci at p6m7g8 Jan 28, 2009, 8:30 PM
                    Re: [Fwd: Re: Apache::compat, perldoc modules?] pgollucci at p6m7g8 Jan 28, 2009, 8:19 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.