Front page | perl.perl5.porters |
Postings from October 2011
Re: $[ proposal
Thread Previous
|
Thread Next
From:
Michael G Schwern
Date:
October 31, 2011 19:35
Subject:
Re: $[ proposal
Message ID:
4EAF5ACC.8070603@pobox.com
On 2011.10.31 6:17 AM, Father Chrysostomos wrote:
>> Such as?
>
> Code that I have to maintain.
It would seem far simpler to fix the code that uses $[. It's easy to grep
for. It has a lexical effect, so its effects are contained. Future
maintainers won't have to worry about it. The core benefits by not getting a
pile of new code to maintain a toxic feature. Perl users benefit by not
accidentally misusing $[.
I'm sorry you have old code to maintain, but resurrecting a toxic feature we
finally killed is not the best solution for the community. It's been
discouraged for a very long time. Production code using it should have
cleaned up long ago.
PS Just how much code are we talking about? If there's a lot, who is the
madman that made extensive use of $[?
--
Don't try the paranormal until you know what's normal.
-- "Lords and Ladies" by Terry Prachett
Thread Previous
|
Thread Next