You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Beau E. Cox" <be...@beaucox.com> on 2002/12/08 15:38:09 UTC
[mp2]Kow do I find dovumention on...
Hi folks -
I'm updating my LogHandler from 1 => 2. I am trying to
find documention on members and methods of, for example:
use Apache::RequestRec ();
use Apache::Connection ();
For example, looking thru my installed 'tree', the
only thing if find for 'RequestRec' is RequestRec.pod
which only goves information on members
server and dir_config. But I know (from testing the
example LoaHandler in the 2.o documentation) that
RequestRec is far richer than that, containg, for example:
...
my $entry = sprintf qq(%s [%s] "%s" %d %d\n),
$r->connection->remote_ip, scalar(localtime),
$r->uri, $r->status, $r->bytes_sent;
...
I don't mean this question to be specifically about
RequestRec, but rather am seeking to find out how
to find the structure of Apache/mod_perl creatures
in general. (Yes, I even can read c if that's were the
documentation lies).
Aloha => Beau.
Re: [mp2]Kow do I find dovumention on...
Posted by Stas Bekman <st...@stason.org>.
There are many methods in 2.0, most directly glued from apache and apr
methods. We want to re-use their docs as is, where possible. Meaning
that we need a tool to extract these.
Lyle and Gerald are working on this tool, please help them to get it out
asap. See the threads on the docs-dev list:
http://mathforum.org/epigone/modperl-docs-dev/fyhahmen
http://mathforum.org/epigone/modperl-docs-dev/sayyarsnin
Currently, your best friend to finding out what 2.0 is capable of doing
is to grep/browse test handlers in t/, since most of the API is covered
and exercised by these tests.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com