Skip Menu |
 

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

Report information
The Basics
Id: 85015
Status: open
Priority: 0/
Queue: Math-BigInt

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

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

Attachments
perl-5.18.1-Document-Math-BigInt-CalcEmu-requires-Math-BigInt.patch



Subject: Cannot use Math::BigInt::CalcEmu directly
Download (untitled) / with headers
text/plain 635b
# perl -e 'use Math::BigInt::CalcEmu;' Can't locate object method "config" via package "Math::BigInt" at /usr/share/perl5/Math/BigInt/CalcEmu.pm line 18. BEGIN failed--compilation aborted at /usr/share/perl5/Math/BigInt/CalcEmu.pm line 21. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. This is because Math::BigInt::CalcEmu does not use Math::BigInt before executing $CALC_EMU = Math::BigInt->config()->{'lib'}; in the BEGIN section. If direct use is not intended it should be declared in the documentation. Current synopsis is plain: SYNOPSIS use Math::BigInt::CalcEmu;
From: ppisar [...] redhat.com
Download (untitled) / with headers
text/plain 688b
Dne Pá 03.Květen.2013 03:58:03, ppisar napsal(a): Show quoted text
> # perl -e 'use Math::BigInt::CalcEmu;' > Can't locate object method "config" via package "Math::BigInt" at > /usr/share/perl5/Math/BigInt/CalcEmu.pm line 18. > BEGIN failed--compilation aborted at > /usr/share/perl5/Math/BigInt/CalcEmu.pm line 21. > Compilation failed in require at -e line 1. > BEGIN failed--compilation aborted at -e line 1. > > This is because Math::BigInt::CalcEmu does not use Math::BigInt before > executing $CALC_EMU = Math::BigInt->config()->{'lib'}; in the BEGIN > section. > > If direct use is not intended it should be declared in the > documentation.
Attached patch modifies the documentation. -- Petr
Subject: perl-5.18.1-Document-Math-BigInt-CalcEmu-requires-Math-BigInt.patch
From 862c89c81d26dae0dcef138e19df8b45615e69c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Mon, 2 Dec 2013 10:10:56 +0100 Subject: [PATCH] Document Math::BigInt::CalcEmu requires Math::BigInt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit <https://rt.cpan.org/Public/Bug/Display.html?id=85015> Signed-off-by: Petr Písař <ppisar@redhat.com> --- dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm b/dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm index c82e153..0c0b496 100644 --- a/dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm +++ b/dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm @@ -290,6 +290,7 @@ Math::BigInt::CalcEmu - Emulate low-level math with BigInt code =head1 SYNOPSIS + use Math::BigInt; use Math::BigInt::CalcEmu; =head1 DESCRIPTION -- 1.8.3.1
Download (untitled) / with headers
text/plain 272b
The module Math::BigInt::CalcEmu is not meant to be used directly. It is loaded by Math::BigInt when necessary. The contents of this module will soon be moved into Math::BigInt::Lib. When that is done the module Math::BigInt::CalcEmu will be redundant and will be removed.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.