I want to figure out how to get or create Apache2::RequestRec object $c = $r->connection(); Code (markup): is what i want to do. But first i need to get or create $r object. It would be great if someone could show me some example. I tried googling it but haven't found anything. http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html didn't gave me any clue or am i missing something ?