Date: Wed, 27 May 2015 22:09:55 +0000 From: bugzilla-noreply@freebsd.org To: perl@FreeBSD.org Subject: [Bug 200370] lang/perl5.20: Argument "2.49_01" isn't numeric Message-ID: <bug-200370-14331-WTekAaLruQ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-200370-14331@https.bugs.freebsd.org/bugzilla/> References: <bug-200370-14331@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200370 --- Comment #9 from Mathieu Arnold <mat@FreeBSD.org> --- (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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200370-14331-WTekAaLruQ>