projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
[shell changes from patch from perl5.003_26 to perl5.003_27]
[p5sagit/p5-mst-13.2.git]
/
lib
/
Term
/
Cap.pm
diff --git
a/lib/Term/Cap.pm
b/lib/Term/Cap.pm
index
d4d91c6
..
5a73ecf
100644
(file)
--- a/
lib/Term/Cap.pm
+++ b/
lib/Term/Cap.pm
@@
-195,11
+195,8
@@
sub Tgetent { ## public -- static method
last;
}
}
- if (defined $entry) {
- $entry .= $_;
- } else {
- $entry = $_;
- }
+ defined $entry or $entry = '';
+ $entry .= $_;
};
while ($state != 0) {