This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document that the %#X printf format prefixes the output with 0X, not 0x.
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 23 Oct 2006 13:43:32 +0000 (13:43 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 23 Oct 2006 13:43:32 +0000 (13:43 +0000)
p4raw-id: //depot/perl@29093

pod/perlfunc.pod

index 63d7399..3920153 100644 (file)
@@ -5557,8 +5557,8 @@ one or more of:
    +       prefix positive number with a plus sign
    -       left-justify within the field
    0       use zeros, not spaces, to right-justify
-   #       prefix non-zero octal with "0", non-zero hex with "0x",
-           non-zero binary with "0b"
+   #       prefix non-zero octal with "0", non-zero hex with "0x"
+           or "0X", non-zero binary with "0b"
 
 For example: