diff options
Diffstat (limited to 'pod/perldata.pod')
-rw-r--r-- | pod/perldata.pod | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perldata.pod b/pod/perldata.pod index 42e3af723c..64ea8be765 100644 --- a/pod/perldata.pod +++ b/pod/perldata.pod @@ -280,10 +280,10 @@ integer formats: You are allowed to use underscores (underbars) in numeric literals for legibility, as long as the underscores are spaced at least one digit -apart, and they do not begin or end the integer or fractional part. -You could, for example, group binary digits by threes (as for -a Unix-style mode argument such as 0b110_100_100) or by fours -(to represent nibbles, as in 0b1010_0110) or in other groups. +apart, and they do not begin or end the integer or fractional part of +a decimal constant. You could, for example, group binary digits by +threes (as for a Unix-style mode argument such as 0b110_100_100) or by +fours (to represent nibbles, as in 0b1010_0110) or in other groups. (Note that if you try to begin a number with an underscore, it won't even be understood as a number, it will be understood as a bareword, |