On Jan 10, 2007, at 8:56 PM, silent wrote:
Mod_perl objects sometimes very confuse to me, for example: the
Apache2::Connection pod only say :$c->method, but what is $c?
I only guess it is $c = $r->connection,(or you can say research the
src
code)
Is there something like a big picture show the relationship between
the
mod_perl2 related objects?
yes. $c is a Apache2::Connection object
http://perl.apache.org/docs/2.0/api/Apache2/
RequestRec.html#C_connection_
Get the client connection record
$c = $r->connection();
obj: $r ( Apache2::RequestRec object )
ret: $c ( Apache2::Connection object )
since: 2.0.00
the full API is here
http://perl.apache.org/docs/2.0/api/index.html
// Jonathan Vanasco
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -