fix header sending for tied printing
[perl/plp/.git] / PLP.pm
diff --git a/PLP.pm b/PLP.pm
index 60d43a1370717d7daea5c7ad3351f8b43a742fc0..57292ad2589d0760f3b1aa84668eb22c66b0c6ec 100644 (file)
--- a/PLP.pm
+++ b/PLP.pm
@@ -172,7 +172,7 @@ sub mod_perl_init {
 
 # FAST printing under mod_perl
 sub mod_perl_print {
-    return if @_ == 1 and not length $_[0];
+       return unless grep length, @_;
     PLP::sendheaders() unless $PLP::sentheaders;
     $PLP::r->print(@_);
 }
@@ -533,9 +533,11 @@ FAQ at L<PLP::FAQ>. Some examples can be found at L<PLP::HowTo>.
 No warranty, no guarantees. Use PLP at your own risk, as I disclaim all
 responsibility.
 
-=head1 AUTHOR
+=head1 AUTHORS
 
-Juerd Waalboer <juerd@cpan.org>
+Currently maintained by Mischa POSLAWSKY <perl@shiar.org>
+
+Originally by Juerd Waalboer <juerd@cpan.org>
 
 =head1 SEE ALSO