diff options
author | Peter John Acklam <pjacklam@online.no> | 2010-11-04 18:32:20 +0100 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2010-11-07 16:01:05 +0100 |
commit | 4f039b22bd6382064369066e22a0750cdd4976b1 (patch) | |
tree | a4d1be294375f8b3c1593114f909fe900f196da4 /dist/Math-BigInt | |
parent | 71f01b370a4d852b4b8d7490503f038641108e09 (diff) | |
download | perl-4f039b22bd6382064369066e22a0750cdd4976b1.tar.gz |
RT ticket #61845: from_bin() documentation error
The documentation (POD) for the from_bin() method has a small error.
Binary numbers are prefixed by '0b', not '0x'.
- lib/Math/BigInt.pm: Fix documentation (POD) error.
Diffstat (limited to 'dist/Math-BigInt')
-rw-r--r-- | dist/Math-BigInt/lib/Math/BigInt.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/Math-BigInt/lib/Math/BigInt.pm b/dist/Math-BigInt/lib/Math/BigInt.pm index 0ab9120b70..cbb5091793 100644 --- a/dist/Math-BigInt/lib/Math/BigInt.pm +++ b/dist/Math-BigInt/lib/Math/BigInt.pm @@ -3508,7 +3508,7 @@ See L<Input> for more info on accepted input formats. =head2 from_bin() - $x = Math::BigInt->from_bin("0x10011"); # input is binary + $x = Math::BigInt->from_bin("0b10011"); # input is binary =head2 bnan() |