Bug#581259: perl-doc: Math::BigInt documentation example wrong for from_bin()

Damyan Ivanov dmn at debian.org
Wed May 12 13:17:24 UTC 2010


found 581259 5.12.0-2
forwarded 581259 https://rt.cpan.org/Ticket/Display.html?id=57420
thanks

-=| Daniel Kahn Gillmor, Tue, May 11, 2010 at 11:36:48PM -0400 |=-
> Package: perl-doc
> Version: 5.10.1-12
> Severity: minor
> 
> currently, the docs for Math::BigInt contain this example:
> 
>    from_bin()
>                $x = Math::BigInt->from_oct("0x10011"); # input is binary
> 
> It should probably be:
> 
>    from_bin()
>                $x = Math::BigInt->from_bin("0x10011"); # input is 
>                binary

Thanks. I have forwarded this upstream.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20100512/4035b03c/attachment.pgp>


More information about the Perl-maintainers mailing list