perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Peng <kenp...@pravda.ru>
Subject Re: API Docs
Date Thu, 15 May 2014 21:45:55 GMT
$r stands for the connection handle IMO.
Most like the $dbh in a database connection.


On Thu, May 15, 2014 at 7:52 AM, Worik Stanton <worik.stanton@gmail.com>wrote:

> 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?
>
> 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
>        worik.stanton@gmail.com 021-1680650, (03) 4821804
>                           Aotearoa (New Zealand)
>
>

Mime
View raw message