Skip Menu |

This queue is for tickets about the Math-BigInt CPAN distribution.

Report information
The Basics
Id: 51824
Status: resolved
Priority: 0/
Queue: Math-BigInt

People
Owner: Nobody in particular
Requestors: FWIE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.89
Fixed in: (no value)



Subject: [Patch] POD nits
The attached patch fixes some POD, which renders wrong, at least at search.cpan.org.
Subject: pod.patch
diff --git a/lib/Math/BigFloat.pm b/lib/Math/BigFloat.pm index 27d60b3..4a5068e 100644 --- a/lib/Math/BigFloat.pm +++ b/lib/Math/BigFloat.pm @@ -3905,7 +3905,7 @@ Some routines (C<is_odd()>, C<is_even()>, C<is_zero()>, C<is_one()>, C<is_nan()>) return true or false, while others (C<bcmp()>, C<bacmp()>) return either undef, <0, 0 or >0 and are suited for sort. -Actual math is done by using the class defined with C<with => Class;> (which +Actual math is done by using the class defined with C<< with => Class; >> (which defaults to BigInts) to represent the mantissa and exponent. The sign C</^[+-]$/> is stored separately. The string 'NaN' is used to diff --git a/lib/Math/BigInt.pm b/lib/Math/BigInt.pm index b19b3dc..3ac56ae 100644 --- a/lib/Math/BigInt.pm +++ b/lib/Math/BigInt.pm @@ -3400,7 +3400,7 @@ Value must be greater than zero. Pass an undef value to disable it: $x->accuracy(undef); Math::BigInt->accuracy(undef); -Returns the current accuracy. For C<$x->accuracy()> it will return either the +Returns the current accuracy. For C<< $x->accuracy() >> it will return either the local accuracy, or if not defined, the global. This means the return value represents the accuracy that will be in effect for $x: @@ -3450,7 +3450,7 @@ Pass an undef value to disable it: $x->precision(undef); Math::BigInt->precision(undef); -Returns the current precision. For C<$x->precision()> it will return either the +Returns the current precision. For C<< $x->precision() >> it will return either the local precision of $x, or if not defined, the global. This means the return value represents the prevision that will be in effect for $x: @@ -4654,8 +4654,8 @@ directly. =item * -The private object hash keys like C<$x->{sign}> may not be changed, but -additional keys can be added, like C<$x->{_custom}>. +The private object hash keys like C<< $x->{sign} >> may not be changed, but +additional keys can be added, like C<< $x->{_custom} >>. =item *
This has now been fixed in in the perl core and will be synced to CPAN shortly. Many thanks for both the report and the patch!