Tatsuhiko Miyagawa wrote:
> Here I've made a new mod_perl module which allows you to call
> ap_construct_url() from mod_perl.
>
> http://bulknews.net/lib/archives/Apache-CanonicalName-0.01.tar.gz
>
> Any suggestions welcome, especially regarding to:
>
> * Is naming OK?
>
> * Is it worth CPAN module? Should it be in mod_perl core?
>
> I think it should be in mod_perl core, but at the same time,
> it's worth CPANizing as it allows you to use this method without
> mod_perl upgrading.
isn't the result the same as what you would get with this:
my $uri = Apache::URI->parse($r);
$uri->path('/bar/');
$uri->unparse;
?
Apache::URI->parse uses ap_construct_url behind the scenes.
granted, what you offer is a shortcut and opens up the raw apache API,
but we pretty much have the ability already.
it's pretty cool, though, what you can do with XS :)
--Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]