From 412147f664b7f5805591ad996d7e5a9e70b3d80f Mon Sep 17 00:00:00 2001 From: Gene Sullivan Date: Mon, 14 Dec 2009 14:07:27 +0100 Subject: [perl #71204] diagnostics.pm suppresses 'Use of uninitialized value in range (or flip)' warning (and bump version of diagnostics.pm) --- lib/diagnostics.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm index d65df19ca2..721b466fd0 100644 --- a/lib/diagnostics.pm +++ b/lib/diagnostics.pm @@ -185,7 +185,7 @@ use 5.009001; use Carp; $Carp::Internal{__PACKAGE__.""}++; -our $VERSION = '1.18'; +our $VERSION = '1.19'; our $DEBUG; our $VERBOSE; our $PRETTY; @@ -222,6 +222,7 @@ my $WHOAMI = ref bless []; # nobody's business, prolly not even mine local $| = 1; my $_; +local $.; my $standalone; my(%HTML_2_Troff, %HTML_2_Latin_1, %HTML_2_ASCII_7); -- cgit v1.2.1