summaryrefslogtreecommitdiff
path: root/lib/termcap.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@cc.hut.fi>1997-01-02 17:27:47 +1200
committerChip Salzenberg <chip@atlantic.net>1997-01-04 17:44:00 +1200
commit40da2db335c65d50d3bca886fcc7161ed72faf74 (patch)
tree7fa3e6ca078a9a52592d28bd05a7f99be1af6544 /lib/termcap.pl
parent5377b7012ceb2c72202db969f3b51a017f9551a9 (diff)
downloadperl-40da2db335c65d50d3bca886fcc7161ed72faf74.tar.gz
Make libs clean under '-w'
Diffstat (limited to 'lib/termcap.pl')
-rw-r--r--lib/termcap.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/termcap.pl b/lib/termcap.pl
index c36575aa45..37313432fd 100644
--- a/lib/termcap.pl
+++ b/lib/termcap.pl
@@ -14,7 +14,7 @@ sub Tgetent {
local($TERMCAP,$_,$entry,$loop,$field);
warn "Tgetent: no ospeed set" unless $ospeed;
- foreach $key (keys(TC)) {
+ foreach $key (keys %TC) {
delete $TC{$key};
}
$TERM = $ENV{'TERM'} unless $TERM;