Tatsuhiko Miyagawa wrote:
> At Fri, 05 Jul 2002 19:30:56 +0800,
> Stas Bekman wrote:
>
>
>>Yes, but there is an easier and *much* more effective way.
>>
>>Your handler is really FilterRequestHandler (which is the default
>>attribute) so you have the request object already.
>>
>>sub handler : FilterRequestHandler {
>> my $filter = shift;
>> ...
>> $filter->r->content_type("text/html; charset=$charset");
>
>
> neat, thanks ;)
>
> but is that already documented somewhere, other than XS glue code?
I'm working on this.
For now if anything is not documented you should be able to find in t/,
since most of the basic features are tested. in this particular case
t/filter/TestFilter/api.pm is what you need.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]