You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Gregory Belenky <gr...@webzavod.ru> on 2002/02/06 11:12:48 UTC

[BUG] Can't use parameters-refernces in $r->print using Apache::Filter

One of the $r->print()'s declared abilities is to pass reference in place of
scalar value (to prevent "unneeded copying of large strings").

But when I use Apache::Filter and pass my output to another handler (module)
I can't use this feature.
IMHO that's because Apache::Filter->print uses

print STDOUT @_

in place of

print STDOUT ref $_ ? $$_ : $_ foreach (@_)

Am I right or what?
Dirty hack on Apache::Filter sources solved the problem.

P.S.
$Apache::Filter::VERSION == '1.019'