develooper Front page | perl.perl5.porters | Postings from July 2013

[perl #3330] Magic increment avoids warning unexpectedly

Thread Next
From:
Tony Cook via RT
Date:
July 10, 2013 05:30
Subject:
[perl #3330] Magic increment avoids warning unexpectedly
Message ID:
rt-3.6.HEAD-2552-1373434215-1032.3330-15-0@perl.org
On Sat Jul 06 12:46:41 2013, perl.p5p@rjbs.manxome.org wrote:
> * Tony Cook via RT <perlbug-followup@perl.org> [2013-07-02T02:23:51]
> > I've added another patch which I think is a better approach that matches
> > how sv_2nv_flags determines whether a warning should be produced.  It
> > needs tests, which I'll write if we want this warning.
> > 
> > The question is - do we?
> 
> Yes, I think so.

I'll produce a better patch for it sometime.

One problem with my patch above is it complains "Argument 'foo!' isn't
numeric..." but ++ accepts non-numeric arguments, so the message needs
to change.

Tony



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

Thread Next


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