Ayhan Ulusoy wrote:

Sure, go ahead and call your filter modules Apache::FilterFoo or
Apache::Filter::Foo. I'm going to release shortly
Apache::Filter::HTTPHeadersFixup and probably Apache::Filter::Debug.


[Ayhan] Hmmm.. That "Apache::Filter::Debug" sounds yummy...

It's available here for a year or so: http://perl.apache.org/docs/2.0/user/handlers/filters.html#All_in_One_Filter

I use it all the time to debug filters. I just haven't decided yet whether I should call it ::Debug or something else, since Debug is too generic, At the moment it's called FilterSnoop. If you play with it let me know what you think. I simply wanted to expose some of the internal functions that it uses, that's where the debug idea came from.

[Ayhan] Well, as you hint at it, this is probably not the right list to
discuss the "Sandwich" part of the name, where the mod_perl list would
probably be more appropriate. (whereas for "Apache::", I think it is
though and it is now in a separate thread.)

The main benefit to ask at the modperl list is that there are many more people listening there. Though as my recent experience shows, there are two few involved with mp2, so you get hardly any feedback at all. But give it a try nevertheless.


But now that we're at it, yes, I think it would be the least of things
to contact the author of "Sandwich" if it were an mp2 port, but it
isn't.

Sure, post a proper description to the modperl list and we will discuss it there.


[...]
So I thought, well, I could drop in support for the several PerlSetVar
options for those modules (HEADER & FOOTER for Sandwich,  and TEMPLATE &
REPLACE for SimpleReplace) for an extra 2 cents of work. That way,
people could keep on using their existing documents. That's all.

BTW, it's trivial to add new config directives in mp2 (rather than using PerlSetVar). See:
http://perl.apache.org/docs/2.0/user/config/custom.html


__________________________________________________________________
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]



Reply via email to