Hi -
I'm getting frustrated. I'm trying to parse the
incoming uri (url) in mod_perl 2, and I can't
seem to be able to find documentation. For
example, Nick gave me the following snippet
of code last week:
my $uri = APR::URI->parse($r->pool,
$r->construct_url);
$uri->scheme('https');
my $new_uri = $uri->unparse;
OK. Now where can a find documentation for:
* methods/members in $r?
* methods/members in APR?
* methods/members in uri?
I've been all over the online Apache HTTP
and Perl sites - I can't find anything; I'm
not proud - I appreciate that formal
documentation often lags development (it
does in my projects :) ) - so I'll look at
code. I wanted to examine APR, for example,
and look what I found:
package APR;
use DynaLoader ();
our $VERSION = '0.01';
our @ISA = qw(DynaLoader);
#dlopen("APR.so", RTDL_GLOBAL); so we only need
#to link libapr.a once
sub dl_load_flags { 0x01 }
unless (defined &APR::XSLoader::BOOTSTRAP) {
__PACKAGE__->bootstrap($VERSION);
*APR::XSLoader::BOOTSTRAP = sub () { 1 };
}
1;
__END__
Sorry - but this doesn't compute (for me).
I don't want hand-holding; I want to be able to
find answers myself - but I *do need help*
on how to find the documentation or code.
Aloha => Beau;