Re: API Docs
Worik Stanton <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
On 15/05/14 23:55, Perrin Harkins wrote: > The $r there is the Apache2::RequestRec object. It gets passed to > your handler. See the handler example in the overview: > https://perl.apache.org/docs/2.0/user/intro/start_fast.html Thank-you. That looks very useful. I can see where it was linked to now from the documentation at perl.apache.org. Now I can see what I was missing, a "handler" method from a registered module Worik > > - Perrin > > On Wed, May 14, 2014 at 7:52 PM, Worik Stanton <[email protected]> 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 >> [email protected] 021-1680650, (03) 4821804 >> Aotearoa (New Zealand) >> > . > -- The only true evil is turning people into things.... Granny Weatherwax [email protected] 021-1680650, (03) 4821804 Aotearoa (New Zealand)
signature.asc
(application/pgp-signature, 538 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTdUvGAAoJEDgltBsVWtVcOSkH/1AnrB+dN3neaawiC9Uwlj3D mNl/pHP8s2NhSBT4he54vFHeBfgIkdh9E7Mzy81l+VhFgAiOHyegzI4ax6u/feck b5fNGv0KUo2xWA1fpyLdeFAGCmSm6zZlFiaXBMcuoy9orfBo5ILYimnCyYichLOk LlBcVfk5rd7UY+BI8SjXwISBORjTFJNuhOeGRLBb9J/2nh19NqR3n3Fpcf1nGy5I QjRzpVRPYNkO8CnCjTSjW3T5N+6kBIwg8HK5T2hyMD6s+xVZyeJ441v3ewwymGSY VEwSqlKrDZhY597EWeMXP2xlceyHdaspXIxB/2U+4TDuY5dLluKSWhd7OZLIwHM= =85R7 -----END PGP SIGNATURE-----