diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-09-17 12:16:15 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-09-17 12:47:01 -0600 |
commit | d823de2e5585a025a8b4efdc827ca62baf748f33 (patch) | |
tree | 8678c7ec9326632640ea316e5e33c1e74cfbf472 /pod/perldata.pod | |
parent | df80274d3278c640a5e0fbf3982950bb5ca9d7bc (diff) | |
download | perl-d823de2e5585a025a8b4efdc827ca62baf748f33.tar.gz |
perldata: Only one "_" is allowed between each digit pair
Diffstat (limited to 'pod/perldata.pod')
-rw-r--r-- | pod/perldata.pod | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pod/perldata.pod b/pod/perldata.pod index 6d0fa0b21f..c54cb9143e 100644 --- a/pod/perldata.pod +++ b/pod/perldata.pod @@ -294,7 +294,9 @@ integer formats: 0b011011 # binary You are allowed to use underscores (underbars) in numeric literals -between digits for legibility. You could, for example, group binary +between digits for legibility (but not multiple underscores in a row: +C<23__500> is not legal; C<23_500> is). +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. X<number, literal> |