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

Re: $[ proposal

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
October 31, 2011 06:17
Subject:
Re: $[ proposal
Message ID:
EC1606AA-B05D-4E81-9BAA-12BCD4D5BEA1@cpan.org

On Oct 30, 2011, at 11:23 PM, Mark Mielke wrote:

> On 10/31/2011 01:44 AM, Father Chrysostomos wrote:
>> Michael Schwern wrote:
>>> If $[ were a feature we wanted to keep, and if there were any concern that
>>> real code uses it,
>> There is real code that uses it.
> 
> Such as?

Code that I have to maintain.

> 
> I haven't come across any purposeful uses - ever. I think most people don't even realize it still exists.
> 
> I like the idea of making $[ = 0. I don't know if it has been suggested yet, but I suggest make it read-only, and any attempt to assign to it should fail. If people want to set $[, they can use Perl 5.004 or something older. There is no need for latest Perl to support it.
> 
> -- 
> Mark Mielke<mark@mielke.cc>
> 


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