From owner-freebsd-perl@FreeBSD.ORG Wed May 27 22:09:55 2015 Return-Path: Delivered-To: perl@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4E8F9F2E for ; Wed, 27 May 2015 22:09:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 38093888 for ; Wed, 27 May 2015 22:09:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4RM9tZW040649 for ; Wed, 27 May 2015 22:09:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: perl@FreeBSD.org Subject: [Bug 200370] lang/perl5.20: Argument "2.49_01" isn't numeric Date: Wed, 27 May 2015 22:09:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mat@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: perl@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 22:09:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200370 --- Comment #9 from Mathieu Arnold --- (In reply to parv from comment #8) > The "X isn't numeric" message is reproducible when apparently-non-number is > quoted && warnings pragma is in effect ... > > # perl -Mwarnings -e 'print 3 >= "2.49_01" ' > Argument "2.49_01" isn't numeric in numeric ge (>=) at -e line 1. > 1 > > > It is certainly not surprising to find a program/module version being quoted. But it's still only a warning, it does not break anything, it's Perl telling you "you're coding like a moron, but I get what you mean" : $ perl -Mwarnings -e 'print 3 <=> "2.49_01" ' Argument "2.49_01" isn't numeric in numeric comparison (<=>) at -e line 1. 1 $ perl -Mwarnings -e 'print 2 <=> "2.49_01" ' Argument "2.49_01" isn't numeric in numeric comparison (<=>) at -e line 1. -1 $ -- You are receiving this mail because: You are the assignee for the bug.