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

Re: hash slice assignment

Thread Previous
From:
Dave Mitchell
Date:
July 27, 2018 11:28
Subject:
Re: hash slice assignment
Message ID:
20180727112807.GA2798@iabyn.com
On Fri, Jul 27, 2018 at 12:10:20PM +0200, H.Merijn Brand wrote:
> I didn't know 1 was special cased

It's so you can write things like

    1 while (foo());



-- 
I don't want to achieve immortality through my work...
I want to achieve it through not dying.
    -- Woody Allen

Thread Previous


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