diff options
author | Jarkko Hietaniemi <jhi@cc.hut.fi> | 1997-01-02 17:27:47 +1200 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-01-04 17:44:00 +1200 |
commit | 40da2db335c65d50d3bca886fcc7161ed72faf74 (patch) | |
tree | 7fa3e6ca078a9a52592d28bd05a7f99be1af6544 /lib/diagnostics.pm | |
parent | 5377b7012ceb2c72202db969f3b51a017f9551a9 (diff) | |
download | perl-40da2db335c65d50d3bca886fcc7161ed72faf74.tar.gz |
Make libs clean under '-w'
Diffstat (limited to 'lib/diagnostics.pm')
-rw-r--r-- | lib/diagnostics.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm index 3492bd3e28..b00349f7b0 100644 --- a/lib/diagnostics.pm +++ b/lib/diagnostics.pm @@ -352,7 +352,7 @@ EOFUNC if ($standalone) { if (!@ARGV and -t STDIN) { print STDERR "$0: Reading from STDIN\n" } - while ($error = <>) { + while (defined ($error = <>)) { splainthis($error) || print THITHER $error; } exit; |