On a second thought, may be my version of reverse filter does fit into the test suite (and not examples) because then we can do edge testing (sending lines of size close to the buffer size), whereas it won't DWIM with the current simple reverse filter.
I'm starting to produce real example, so hopefully soon things in t/ will be used strictly for testing. >> and come up with a "proper" example that does something more useful >> than simply illustrate how to use the api. my attempt at this was >> Apache::FormatText. > > I've been using an interface to HTML::Clean (Apache::Clean on CPAN) to > illustrate filtering with Apache::Filter recently (both in the cookbook > and in talks I've been giving). > > if you think that would make a decent, real world example I'd be willing > (as time permits) to make a simplfied version to serve as an example in > mod_perl-2.0 But won't it again make the example bloated? e.g., because you have to supply some html which is not easily absorbed. May be another idea is to do something like a template expansion engine. So you have [DATE] and [URL] placeholders and they get replaced by the filter with real values? I think this can be made very concise and clear. __________________________________________________________________ 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]
