Skip Menu |
 

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

Report information
The Basics
Id: 122018
Status: resolved
Priority: 0/
Queue: Math-BigRat

People
Owner: Nobody in particular
Requestors: gdg [...] zplane.com
Cc:
AdminCc:

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



MIME-Version: 1.0
X-Spam-Status: No, score=-3.12 tagged_above=-99.9 required=10 tests=[AWL=-1.899, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_NEUTRAL=0.779] autolearn=no
Content-Disposition: inline
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Reply-To: gdg [...] zplane.com
Message-ID: <20170606025705.GA28440 [...] huh.zplane.com>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Sasl-Enc: aPfVlLi32KwP8uKMW1s5HhXJaB2mXBVv3JJGj05FeqnZ 1496717826
X-Spam-Score: -3.12
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id D5A9D2402D9 for <cpan-bug+Math-BigRat [...] hipster.bestpractical.com>; Mon, 5 Jun 2017 22:57:16 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E+wGgh6ZS1ce for <cpan-bug+Math-BigRat [...] hipster.bestpractical.com>; Mon, 5 Jun 2017 22:57:15 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id 2740C2400D5 for <bug-Math-BigRat [...] rt.cpan.org>; Mon, 5 Jun 2017 22:57:15 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 632F711D8B6 for <bug-Math-BigRat [...] rt.cpan.org>; Mon, 5 Jun 2017 19:57:14 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 650BC11F8EC for <bug-Math-BigRat [...] rt.cpan.org>; Mon, 5 Jun 2017 19:57:12 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 10D5F11D8B6 for <bug-Math-BigRat [...] rt.cpan.org>; Mon, 5 Jun 2017 19:57:07 -0700 (PDT)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 4F28C20D34 for <bug-Math-BigRat [...] rt.cpan.org>; Mon, 5 Jun 2017 22:57:06 -0400 (EDT)
Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 05 Jun 2017 22:57:06 -0400
Received: from huh.zplane.com (c-76-120-71-120.hsd1.co.comcast.net [76.120.71.120]) by mail.messagingengine.com (Postfix) with ESMTPA id 0BB227E800 for <bug-Math-BigRat [...] rt.cpan.org>; Mon, 5 Jun 2017 22:57:06 -0400 (EDT)
Received: by huh.zplane.com (Postfix, from userid 501) id 54A36638CB; Mon, 5 Jun 2017 20:57:05 -0600 (MDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] zplane.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] messagingengine.com
Delivered-To: cpan-bug+Math-BigRat [...] hipster.bestpractical.com
User-Agent: Mutt/1.8.2 (2017-04-18)
Subject: Man page synopsis example for setting infinity fails
Return-Path: <gdg [...] zplane.com>
X-Me-Sender: <xms:Aho2WQ9JJD7LHdgQLQ5lD-jQ8kW5kaBXF4AoKloLf5cSKMcrnQPWHA>
X-RT-Mail-Extension: math-bigrat
X-Original-To: cpan-bug+Math-BigRat [...] hipster.bestpractical.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zplane.com; h= content-type:date:from:message-id:mime-version:reply-to:subject :to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=8Lt mC9ibxQwecqOy3YnEtUJihiJNIQ05VkV1aSg0u2Q=; b=xPOEjMgxOtugVCJs3ni dXLIghOGhILY5nF0PE7XvJwXl0LJ5orhmAWaiDHI7jPRMe/G0bpqWfWIvggSBCN/ 7ufArBFox6OpikmMyJHnn/HaZrCpTDr21NP9q/wqIq03PED/MZFxxh74HLZFog+W /M9+C37zgyzrKjz79hfe9O1amuuxUxnQSoTWckKw+WNuE3Ww2XrWk9LrJXgts6ns CuUxcNy50Wgxh2faFCHcGYejozf02OAY1l4ka0iEJuL6uRDh3CM6x6sMWlIIi0Cm OO8igaKrjqbKEVZGjegWV9Ac+6iwbo2Ylum7TiFoBBKtKThlVd/I7jzdWvFVPZ6w UsQ==
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:reply-to:subject:to:x-me-sender:x-me-sender :x-sasl-enc:x-sasl-enc; s=fm1; bh=8LtmC9ibxQwecqOy3YnEtUJihiJNIQ 05VkV1aSg0u2Q=; b=kAs5paOgwwiucn3J7yPD1m3CvZxuXRH7JpQz6hlAQ0wIsK yTwj5hkKvglWanYPPUcmixiS6X+IFHMVNThdHHq6pHZJvsf27/Rx29WArvtONX7a ZXrFPQxV72yTfdDVvzm/1dhkHK2pNBp8uU4iN5Ruk9PncZlkLNz4+ZC7hRWCVJJh b5M2ppsAZooacHHjknbbcOzMKy9/tK38r1GT4Z2hs1hPb2ldo/GWX7IjiD2t1Wka crqQlRri6hr8c+6KGEnuiS2WWJjBhxmRJail+w3ONjOrYH0Hpzf6qerjLMBACK8Z m8EbObCwKcqmoF4MN5mZDot8J1V/8A0Z383wo2rg==
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_600_699 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, DKIM_SIGNATURE 0, NO_CTA_URI_FOUND 0, NO_URI_FOUND 0, NO_URI_HTTPS 0, REPLYTO_SAMEAS_FROM 0, SPF_PASS 0, __CD 0, __CT 0, __CT_TEXT_PLAIN 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_REPLYTO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __NO_HTML_TAG_RAW 0, __REPLYTO_SAMEAS_FROM_ACC 0, __REPLYTO_SAMEAS_FROM_ADDY 0, __REPLYTO_SAMEAS_FROM_DOMAIN 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __USER_AGENT 0, __blackholes.mail-abuse.org_TIMEOUT , __zen.spamhaus.org_ERROR '
Date: Mon, 5 Jun 2017 20:57:05 -0600
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2017.6.6.24815
To: bug-Math-BigRat [...] rt.cpan.org
From: Glenn Golden <gdg [...] zplane.com>
X-RT-Original-Encoding: ascii
X-RT-Interface: Email
Content-Length: 647
Download (untitled) / with headers
text/plain 647b
This bug report pertains to BigRat version 0.260802 running under perl 5.24.1: The man page SYNOPSIS gives this usage example for creating a BigRat infinity: my $y = Math::BigRat->new('inf'); On my setup, the above fails with: "Use of uninitialized value $x in concatenation (.) or string at /xxxx/xxxx/locperl/lib/perl5/Math/BigInt/Calc.pm line 1240." Example inline below. Show quoted text
---------- begin inline example -------------------- #!/usr/bin/perl use strict; use warnings; use Math::BigRat; print "BigRat version $Math::BigRat::VERSION\n"; my $y = Math::BigRat->new('inf'); ----------------------------------------------------
MIME-Version: 1.0
In-Reply-To: <20170606025705.GA28440 [...] huh.zplane.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <20170606025705.GA28440 [...] huh.zplane.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-1355-1496907836-560.122018-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1352
Download (untitled) / with headers
text/plain 1.3k
Glenn, thank you for your report. Could you supply more information about your setup, namely the output of these commands: perl -V perl -MMath::BigInt -le "print Math::BigInt->VERSION" Note that there are incompatible combinations of versions of Math::BigInt and Math::BigRat. You might have hit one of these by updating Math::BigInt from CPAN while keeping Math::BigRat from your perl core distribution. Note also that there is an important patch for Math::BigRat versions from 0.260805 through 0.2612 (the latest published one) in rt-121139, cf. https://rt.cpan.org/Ticket/Display.html?id=121139 -Martin On Mon Jun 05 22:57:17 2017, gdg@zplane.com wrote: Show quoted text
> This bug report pertains to BigRat version 0.260802 running under perl > 5.24.1: > > The man page SYNOPSIS gives this usage example for creating a BigRat > infinity: > > my $y = Math::BigRat->new('inf'); > > On my setup, the above fails with: > > "Use of uninitialized value $x in concatenation (.) or string > at /xxxx/xxxx/locperl/lib/perl5/Math/BigInt/Calc.pm line 1240." > > Example inline below. > > > ---------- begin inline example -------------------- > #!/usr/bin/perl > > use strict; > use warnings; > use Math::BigRat; > print "BigRat version $Math::BigRat::VERSION\n"; > my $y = Math::BigRat->new('inf'); > ----------------------------------------------------
MIME-Version: 1.0
X-Spam-Status: No, score=-5.059 tagged_above=-99.9 required=10 tests=[AWL=0.162, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_OUR_RT=-4, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-4.0.18-1355-1496907836-152.122018-6-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-122018 [...] rt.cpan.org> <20170606025705.GA28440 [...] huh.zplane.com> <rt-4.0.18-1355-1496907836-152.122018-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20170608121457.GX14907 [...] huh.zplane.com>
Reply-To: gdg [...] zplane.com
content-type: text/plain; charset="utf-8"
X-Sasl-Enc: 4mmr1yweqHZMALeZYW6WqN6oBPElJHcro2cHGHkm+w8R 1496924098
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.059
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] zplane.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] messagingengine.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id A986D24032A for <cpan-bug+Math-BigRat [...] hipster.bestpractical.com>; Thu, 8 Jun 2017 08:15:20 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UwGZ8NsZBTM8 for <cpan-bug+Math-BigRat [...] hipster.bestpractical.com>; Thu, 8 Jun 2017 08:15:19 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id EEF822401C0 for <bug-Math-BigRat [...] rt.cpan.org>; Thu, 8 Jun 2017 08:15:18 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id F3E7C11F9DD for <bug-Math-BigRat [...] rt.cpan.org>; Thu, 8 Jun 2017 05:15:17 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 7C1A511FA63 for <bug-Math-BigRat [...] rt.cpan.org>; Thu, 8 Jun 2017 05:15:05 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id A434111F9DD for <bug-Math-BigRat [...] rt.cpan.org>; Thu, 8 Jun 2017 05:15:00 -0700 (PDT)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id B90DF20967 for <bug-Math-BigRat [...] rt.cpan.org>; Thu, 8 Jun 2017 08:14:58 -0400 (EDT)
Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 08 Jun 2017 08:14:58 -0400
Received: from huh.zplane.com (c-76-120-71-120.hsd1.co.comcast.net [76.120.71.120]) by mail.messagingengine.com (Postfix) with ESMTPA id 76A03248B4 for <bug-Math-BigRat [...] rt.cpan.org>; Thu, 8 Jun 2017 08:14:58 -0400 (EDT)
Received: by huh.zplane.com (Postfix, from userid 501) id C6ACE638CB; Thu, 8 Jun 2017 06:14:57 -0600 (MDT)
Delivered-To: cpan-bug+Math-BigRat [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #122018] Man page synopsis example for setting infinity fails
User-Agent: Mutt/1.8.2 (2017-04-18)
X-Me-Sender: <xms:wj85WajkP0jpXqDcbOseVZNIlRkfbpegq-Dha014r68wQxNboSNlfA>
Return-Path: <gdg [...] zplane.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zplane.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:reply-to:subject:to:x-me-sender:x-me-sender :x-sasl-enc:x-sasl-enc; s=fm1; bh=aRhH7v5sihRrREHGw5KXkP80usibZR gU6LPI6mZMn5s=; b=1dIQ5tkmvRzWuNq4GdID6R9GUjIPoqjjYenonM1hhEvomg 1UOt1nl1YflgH5ahcXHPIFD6HfwBrjG0xgfQX5F8MYNh2iKMqApGnqJ5CrFZmWSe UakYtvBYIlvxxGEvK+WrlkI5NBKCDhqKlLB954MNKyxTBFasjAgE9yfD7Bwf/oju VkqUJJNcFPgJQs6fiYbk+vfahkdTkALxaDNg12ycKT8DPHudkKv7N6hnXfbhxSZy jeUmSLo/cpIC9nSiQTA/AmFi3/4YBuO5R7WttaydKDmdDDSMTg1oP7idNLTZRpMn cdElKoRqjAoY3dPSLJvz8yM4JOrZ122lUUp8IKXQ==
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:reply-to:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=aRhH7v 5sihRrREHGw5KXkP80usibZRgU6LPI6mZMn5s=; b=C50FnsDPkiMbZVO6Z3lIqF 3H4pe5m9wxux36JG8oX52J4FFWF9nsdrFv4PTHgbwb1cimNFPKXSwNM6q1l8yX/b OT1pElMaNbJzVBMoqc5t9jPH07/3e3V0df9+kaUjFlmlQ63e9fKtCriGTFEuEPiZ fzpYJo5pNCNWMv/g3sVj9FkNlMjowKNG8s6d2RQdJSWAZQnq6vPXh/hG5dtl25s8 ZxEKgOH0Wfvq91xLlRrYGLLmFzRbzYqZkwJUiZMaBBL+CWHXsOTFeCB9SXs9h7GQ lK6GlEkL6kEabZDnp0xfw/bQtsL8vXgFZM4agvVPBoq9qFINtv6C4dX6RsIGkIxg ==
X-Original-To: cpan-bug+Math-BigRat [...] hipster.bestpractical.com
X-RT-Mail-Extension: math-bigrat
Date: Thu, 8 Jun 2017 06:14:57 -0600
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, BODY_SIZE_800_899 0, DATE_TZ_NA 0, DKIM_SIGNATURE 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, REFERENCES 0, REPLYTO_SAMEAS_FROM 0, SINGLE_URI_IN_BODY 0, SPF_PASS 0, URI_ENDS_IN_HTML 0, URI_WITH_PATH_ONLY 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CD 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __FORWARDED_MSG 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_REPLYTO 0, __HTTPS_URI 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __NO_HTML_TAG_RAW 0, __REFERENCES 0, __REPLYTO_SAMEAS_FROM_ACC 0, __REPLYTO_SAMEAS_FROM_ADDY 0, __REPLYTO_SAMEAS_FROM_DOMAIN 0, __SANE_MSGID 0, __SINGLE_URI_TEXT 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __TO_NAME 0, __TO_NAME_DIFF_FROM_ACC 0, __TO_REAL_NAMES 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0, __USER_AGENT 0, __blackholes.mail-abuse.org_TIMEOUT , __zen.spamhaus.org_ERROR '
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2017.6.8.120316
To: Martin Becker via RT <bug-Math-BigRat [...] rt.cpan.org>
From: Glenn Golden <gdg [...] zplane.com>
RT-Message-ID: <rt-4.0.18-3188-1496924121-151.122018-0-0 [...] rt.cpan.org>
Content-Length: 868
Download (untitled) / with headers
text/plain 868b
Martin Becker via RT <bug-Math-BigRat@rt.cpan.org> [2017-06-08 03:43:57 -0400]: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=122018 > > > thank you for your report. Could you supply more information about > your setup, namely the output of these commands: > > perl -V > perl -MMath::BigInt -le "print Math::BigInt->VERSION" > > Note that there are incompatible combinations of versions of > Math::BigInt and Math::BigRat. You might have hit one of these > by updating Math::BigInt from CPAN while keeping Math::BigRat > from your perl core distribution. >
That's exactly what the problem was, thank you. I had forgotten that I'd even had BigInt installed in my local library. My mistake for not running it with the debugger to see where it was coming from. I udpated both my local BigRat and BigInt, and now the 'inf' init is fine. Sorry for the noise.


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.