From d823de2e5585a025a8b4efdc827ca62baf748f33 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 17 Sep 2011 12:16:15 -0600 Subject: perldata: Only one "_" is allowed between each digit pair --- pod/perldata.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pod/perldata.pod') 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 -- cgit v1.2.1