develooper Front page | perl.perl5.porters | Postings from April 2012

[perl #108286] Wishlist: Overridable keywords

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
April 23, 2012 15:13
Subject:
[perl #108286] Wishlist: Overridable keywords
Message ID:
rt-3.6.HEAD-4610-1335219218-1856.108286-15-0@perl.org
On Mon Apr 23 14:03:27 2012, nicholas wrote:
> The intent of the changes appears to be to retain the 5.003 and
> earlier
> behaviour on what gets assigned for each construction, but change the
> loop
> behaviour to terminate on undefined rather than simply falsehood for
> the
> common simple cases:
> 
>     while (OP ...)
> 
> and
> 
>     while ($var = OP ...)

Except that while($var = each %h) implies defined(), but while(each %h)
does not.  So something got screwed up. :-)

-- 

Father Chrysostomos


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

Thread Previous | 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