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) {
> |
-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;
|
> 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
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