develooper Front page | perl.perl5.porters | Postings from December 2008

Re: [PATCH] Class as a Feature (take four)

Thread Previous | Thread Next
From:
Chip Salzenberg
Date:
December 16, 2008 00:33
Subject:
Re: [PATCH] Class as a Feature (take four)
Message ID:
20081216083248.GA5505@tytlal.topaz.cx
On Tue, Dec 16, 2008 at 12:03:21AM -0800, chromatic wrote:
> Alternately, feature.pm could have been the module you load to *disable* new 
> features ...

That's an approach that's been feasible forever but nobody seems to use.
What if, say, one were to add this to /etc/environment on your favorite
platform for legacy code:

    PERL5OPT=-Mfeature=:legacy

That covers the DarkPAN code on a case-by-case basis.
-- 
Chip Salzenberg   twitter:chipsalz
"UTOPIA PLANITIA IS IN ORBIT is the new HAN SHOT FIRST" - Crisper Than Thou

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