git.shiar.nl
/
perl
/
plp
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
v3.03 release
[perl/plp/.git]
/
PLP
/
Tie
/
Print.pm
diff --git
a/PLP/Tie/Print.pm
b/PLP/Tie/Print.pm
index 7563ba5963760e78724d960d1f6064979e73fbe7..0647f7c10826200f1ab2e3f6aed81f4b9387ac0f 100644
(file)
--- a/
PLP/Tie/Print.pm
+++ b/
PLP/Tie/Print.pm
@@
-19,7
+19,8
@@
sub WRITE { undef; }
sub PRINT {
my ($self, @param) = @_;
- PLP::SendHeaders() unless $PLP::sentheaders;
+ return if @param == 1 and not length $param[0];
+ PLP::sendheaders() unless $PLP::sentheaders;
print STDOUT @param;
select STDOUT;
}