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

Re: [perl #113684] Bleadperl v5.17.0-326-g6a31dbf breaksPJCJ/Devel-Cover-0.89.tar.gz

Thread Previous | Thread Next
From:
Paul Johnson
Date:
August 2, 2012 10:53
Subject:
Re: [perl #113684] Bleadperl v5.17.0-326-g6a31dbf breaksPJCJ/Devel-Cover-0.89.tar.gz
Message ID:
20120802175346.GG3771@pjcj.net
On Fri, Jul 27, 2012 at 04:29:54PM -0700, Father Chrysostomos via RT wrote:

> In commit 1f039d60d3, I have fixed loop exits to accept computed labels,
> documented it in 8a7e748e29.
> 
> In commit 1eb0b7be2f, I have made B::Deparse deparse them with the
> correct precedence.

Thanks for doing this.

So now we have:

$ perl -MO=Deparse -e '$a = $b || next'
$a = $b || (next);

Those parentheses are new (from 5.16.0) and superfluous.  Are they there
by design?

For reference:

$ perl -MO=Deparse -e '$a = $b || return'
$a = $b || (return);

Those parentheses first appeared in 5.14.0.

-- 
Paul Johnson - paul@pjcj.net
http://www.pjcj.net

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