summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-29 15:55:39 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-29 15:55:39 +0000
commit928753ea20dfcc4327533c22eecccbc215e82fee (patch)
treec1ddf60e7c74061943aa1556daf62f093b023379 /pod/perldiag.pod
parentaa58aa353209e3416c78e241b039154fdfd9415b (diff)
downloadperl-928753ea20dfcc4327533c22eecccbc215e82fee.tar.gz
Changed the underscore/undebar syntax in numeric constants;
now any grouping will do, as long as the underscores are not consecutive (so "zero-grouping" is out), and they do not begin or end the integer or fractional parts. p4raw-id: //depot/perl@9905
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index a2614c121e..ce309b2dd5 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -1872,7 +1872,10 @@ ended earlier on the current line.
=item Misplaced _ in number
-(W syntax) An underline in a decimal constant wasn't on a 3-digit boundary.
+(W syntax) An underscore (underbar) in a numeric constant either
+immediately followed earlier underscore, or an underscore began or
+ended a numeric constant, or its fractional part (in the case of
+decimal constants) began or ended a numeric constant.
=item Missing %sbrace%s on \N{}