diff options
author | TAKAI Kousuke <62541129+t-a-k@users.noreply.github.com> | 2020-10-01 18:15:55 +0900 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-10-04 13:27:18 -0600 |
commit | 8a8981bf0ac3659aef6d286e6563950e6acf5168 (patch) | |
tree | a835b89533518cb9efd88646435d68a1a3f93d4a /pod | |
parent | fa353c3d2833fc326233e0eb583753b4d7887a63 (diff) | |
download | perl-8a8981bf0ac3659aef6d286e6563950e6acf5168.tar.gz |
perlfunc.pod - describe that "x" and "b" work the same way as
"0x" and "0b" in oct()
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlfunc.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 5bffea73bb..2026c76001 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -4433,8 +4433,8 @@ X<oct> X<octal> X<hex> X<hexadecimal> X<binary> X<bin> =for Pod::Functions convert a string to an octal number Interprets EXPR as an octal string and returns the corresponding -value. (If EXPR happens to start off with C<0x>, interprets it as a -hex string. If EXPR starts off with C<0b>, it is interpreted as a +value. (If EXPR happens to start off with C<0x> or C<x>, interprets it as a +hex string. If EXPR starts off with C<0b> or C<b>, it is interpreted as a binary string. Leading whitespace is ignored in all three cases.) The following will handle decimal, binary, octal, and hex in standard Perl notation: |