Re: API Docs

Jie Gao <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
* Worik Stanton <[email protected]> wrote:

> Date: Thu, 15 May 2014 11:52:39 +1200
> From: Worik Stanton <[email protected]>
> To: mod_perl list <[email protected]>
> Subject: API Docs
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101
>  Thunderbird/24.5.0
> 
> I am still trying to fathom the API.
> 
> I have struck a snag with the documentation.
> 
> 
> https://perl.apache.org/docs/2.0/api/Apache2/Connection.html#Synopsis
> says....
> 
>   use Apache2::Connection ();
>   use Apache2::RequestRec ();
> 
>   my $c = $r->connection;
> 
> 
> What is $r?
 
It is a reference to an Apache request_rec object.


Regards,


Jie

> I am missing something obvious, what is the context here I do not get?
> 
> cheers
> Worik
> -- 
> The only true evil is turning people into things....
>                                          Granny Weatherwax
>        [email protected] 021-1680650, (03) 4821804
>                           Aotearoa (New Zealand)
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.