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 10, 2009 17:18
Subject:
Re: [PATCH] Remove implicit split to @_
Message ID:
20090711001823.GX6500@tytlal.topaz.cx
On Sat, Jul 11, 2009 at 01:56:50AM +0200, Abigail wrote:
> On Fri, Jul 10, 2009 at 02:42:01PM -0700, Chip Salzenberg wrote:
> > Breaking upward _or_ downward compatibility *silently* without a damn good
> > reason is impolite.  I like to be impolite only for good reason.  ("I don't
> > believe in breaking small laws." -- The Rebel Set)
> 
> Well, it's not really silent. It has been given a deprecated warning
> since at least 5.6.x.  But I appreciate the reasoning.

I'd forgotten the deprecation warning was that old.  Maybe I wrote the right rant
for the wrong feature.  :-,

> > When Perl 5.12 encounters scalar split and *not* under C<use 5.012>, it should
> > either do 5.10 does, or die.  Those are the only two options that make sense
> > if you're trying to make a usable tool.
> 
> Please.  We have been through this.

I was on sabbatical in an alternate universe.

> We really don't want programs to change their behaviour in subtle ways if
> the 'use 5.12' line disappears.  That is, IMO, worse than the scenario you
> paint above.

I'm not *quite* sure I like this, but I understand it's true now.  Let's
assume for the sake of this issue that I meant C<use feature ':5.12'>.
-- 
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