develooper Front page | perl.perl5.porters | Postings from January 2019

[perl #131725] number parsing

From:
Tony Cook via RT
Date:
January 7, 2019 22:37
Subject:
[perl #131725] number parsing
Message ID:
rt-4.0.24-24861-1546900611-688.131725-15-0@perl.org
On Sun, 13 Aug 2017 22:59:59 -0700, tonyc wrote:
> On Wed, 02 Aug 2017 19:15:25 -0700, tonyc wrote:
> > On Sun, 09 Jul 2017 05:11:37 -0700, ruud.vantol@booking.com wrote:
> > >
> > > perl -wE'say 1e--5'
> > > -4
> > >
> > > I think it should die if there is no digit directly after the 'e'
> > > and
> > > sign.
> >
> > The attached prevents consuming the "e-" if there's no digits in the
> > exponent.
> 
> Applied as adb0f5c46e10ac97fd958f4cd5526ea6d4b058f6.
> 
> If it ends up causing lots of CPAN failures it may need to be changed
> to a deprecation.

I didn't see any reported issues, closing.

Tony



---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=131725



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About