X-Git-Url: http://git.shiar.net/perl/plp/.git/blobdiff_plain/ef6d542255046b6f50d7047d8e5a1d85b9f01042..c8e35e0b2ab35f8af3d98fa0b69c41a73b62c714:/PLP/Tie/Print.pm diff --git a/PLP/Tie/Print.pm b/PLP/Tie/Print.pm index 9d0c0a9..4c6983f 100644 --- a/PLP/Tie/Print.pm +++ b/PLP/Tie/Print.pm @@ -9,6 +9,8 @@ Just prints to stdout, but sends headers if not sent before. tie *HANDLE, 'PLP::Tie::Print'; +This module is part of the PLP Internals and probably not of much use to others. + =cut sub TIEHANDLE { @@ -19,6 +21,7 @@ sub WRITE { undef; } sub PRINT { my ($self, @param) = @_; + return if @param == 1 and not length $param[0]; PLP::sendheaders() unless $PLP::sentheaders; print STDOUT @param; select STDOUT;