Re: [ANNOUNCE] Apache2::TrapSubRequest 0.03

2005-06-10 Thread Joe Schaefer
Tom Schindl <[EMAIL PROTECTED]> writes: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > [...] > Joe Schaefer schrieb: > > | my $content = ""; > | $subr->add_output_filter(bless sub : FilterRequestHandler { > |my ($f, $bb) = @_; > |while (my $e = $bb->first) { > |

Re: [ANNOUNCE] Apache2::TrapSubRequest 0.03

2005-06-10 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [...] Joe Schaefer schrieb: | my $content = ""; | $subr->add_output_filter(bless sub : FilterRequestHandler { |my ($f, $bb) = @_; |while (my $e = $bb->first) { |$e->read(my $buf); |$content .= $buf; |

Re: [ANNOUNCE] Apache2::TrapSubRequest 0.03

2005-06-08 Thread Dorian Taylor
> Hmm, have you considered removing the _filter sub and writing > it as a closure instead? Here's some code that I've been using > for that: i suppose i could do that. today is clean-my-modules-and-get-them-on-cpan day so perhaps later. ;) .d

Re: [ANNOUNCE] Apache2::TrapSubRequest 0.03

2005-06-08 Thread Joe Schaefer
Dorian Taylor <[EMAIL PROTECTED]> writes: > http://search.cpan.org/~dorian/ - now with working tests. > > 0.03 should show up soon (forgot to remove the bit about > ap_save_brigade in 0.02) Hmm, have you considered removing the _filter sub and writing it as a closure instead? Here's some code t