perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holger Kipp <Holger.K...@alogis.com>
Subject Re: API Docs
Date Fri, 16 May 2014 09:38:16 GMT

Am 15.05.2014 um 01:52 schrieb Worik Stanton <worik.stanton@gmail.com>:

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


$r is the Apache2::RequestRec object
$c is the Apache2::Connection object

it is in the documentation for connection method:
---
connection

Get the client connection record

$c = $r->connection();
	• obj: $r ( Apache2::RequestRec object )
	• ret: $c ( Apache2::Connection object )
	• since: 2.0.00
—


Best regards,
Holger

Mime
View raw message