develooper Front page | perl.perl5.porters | Postings from July 2009

Re: Another overdue deprecation

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
July 16, 2009 13:48
Subject:
Re: Another overdue deprecation
Message ID:
20090716204751.GT60303@plum.flirble.org
On Thu, Jul 16, 2009 at 10:42:11PM +0200, Rafael Garcia-Suarez wrote:
> 2009/7/16 George Greer <perl@greerga.m-l.org>:
> > Can we finally get rid of $site'var rather than $site::var?
> >
> > Tried to print a variable in a string today as a possessive and remembered
> > that little gotcha.
> 
> This is not deprecated. I don't see a reason to deprecate it: it
> doesn't stand in the way of a bug fix. Also, I still regularly see it
> in the wild (unfortunately...). Moreover, that would break D'oh !
> http://search.cpan.org/dist/D-oh/

But if anyone wants to find out what it takes, and what it breaks, please go
ahead.

0: Fork http://perl5.git.perl.org/perl.git
1: figure out all the places where "'" is implemented
   (not sure if it's just in gv.c)
2: for now make it a fatal warning
3: see which, if any core regression tests fail, and then fix them
4: see whether anything interesting on CPAN breaks.
   (Well, other than D'oh, Acme::Don't and Acme::Isn't)
5: see whether it breaks GHC. :-)

Nicholas Clark

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