Bug#581259: perl-doc: Math::BigInt documentation example wrong for from_bin()
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed May 12 03:36:48 UTC 2010
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
Regards,
--dkg
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages perl-doc depends on:
ii perl 5.10.1-12 Larry Wall's Practical Extraction
perl-doc recommends no packages.
Versions of packages perl-doc suggests:
ii groff 1.20.1-9 GNU troff text-formatting system
ii konqueror [man-browser] 4:4.3.4-1 KDE 4's advanced file manager, web
ii man-db [man-browser] 2.5.7-3 on-line manual pager
-- no debconf information
More information about the Perl-maintainers
mailing list