develooper Front page | perl.perl5.porters | Postings from October 2011

Re: $[ proposal

Thread Previous | Thread Next
From:
Leon Brocard
Date:
October 28, 2011 11:38
Subject:
Re: $[ proposal
Message ID:
20111028183836.GA3353@gmail.com
On Wed, Oct 26, 2011 at 09:59:08AM -0400, Ricardo Signes wrote:

> Anyway, here is my core concern:  $[ assignment was deprecated, then removed,
> to simplify the core and to remove the ability to use a feature that the
> porters largely agreed was a mistake.  This changeset (b82b06b) adds the
> misfeature back to core as default behavior.  It moves the original C
> implementation into a few hundred lines of XS, which undoes the simplification
> of core, since that XS can be loaded at any time.
> 
> All that, and it went into core without discussion, because it was Warnocked.
> I'm pretty uncomfortable with that.

$[ has been deprecated for many years and was finally removed by 
e1dccc0 (with an implementation on CPAN as Array::Base for "those 
hopelessly addicted to FORTRAN-style 1-based indexing").

I'm not sure we should put it back in the core now that we've taken it 
out.

Regards, Leon

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