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

Re: [PATCH] Remove implicit split to @_

Thread Previous | Thread Next
From:
Chip Salzenberg
Date:
July 9, 2009 22:43
Subject:
Re: [PATCH] Remove implicit split to @_
Message ID:
20090710054335.GT6500@tytlal.topaz.cx
On Fri, Jul 10, 2009 at 08:33:17AM +0300, Offer Kaye wrote:
> On Fri, Jul 10, 2009 at 7:28 AM, Chip Salzenberg wrote:
> > I favor simply making it a compile-time error to use split in scalar
> > context.  No problem with silently changing semantics and no more surprising
> > behavior.  Everybody's happy.  (right?)
> 
> What does Perl6 do?

No matter.  This is danger removal, not creation.
-- 
Chip Salzenberg

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