diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-17 14:23:48 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-17 14:23:48 +0000 |
commit | b88df9907a8d7b4fae1100629cc85633a901355e (patch) | |
tree | e35854a88b02ec9918a3d40d52b734e1954de901 /warnings.pl | |
parent | f3828575f121139b95363dc2ba6aab15ad201a85 (diff) | |
download | perl-b88df9907a8d7b4fae1100629cc85633a901355e.tar.gz |
warn if ++ or -- are unable to change the value because it's beyond
the limit of representation in NVs, using a new warnings category
"imprecision".
p4raw-id: //depot/perl@32990
Diffstat (limited to 'warnings.pl')
-rw-r--r-- | warnings.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/warnings.pl b/warnings.pl index 4168c5871a..97d5d14bab 100644 --- a/warnings.pl +++ b/warnings.pl @@ -61,6 +61,7 @@ my $tree = { 'pack' => [ 5.008, DEFAULT_OFF], 'unpack' => [ 5.008, DEFAULT_OFF], 'threads' => [ 5.008, DEFAULT_OFF], + 'imprecision' => [ 5.011, DEFAULT_OFF], #'default' => [ 5.008, DEFAULT_ON ], }], |