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

Re: Another overdue deprecation (Also: Deprecate ' as a package separator)

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
October 15, 2009 01:18
Subject:
Re: Another overdue deprecation (Also: Deprecate ' as a package separator)
Message ID:
20091015081746.GD60303@plum.flirble.org
On Wed, Oct 14, 2009 at 07:08:25PM -0400, George Greer wrote:
> On Wed, 14 Oct 2009, jesse wrote:
> >
> >On Tue, Oct 13, 2009 at 08:00:22PM -0400, George Greer wrote:
> >>Sick day means necro-posting!
> >
> >Personally, I really don't want to see this break for 5.12 or 5.14
> >unless there's some really serious win we get by breaking it.
> 
> The patch I attached makes the ' package separator a warning, not anything 
> fatal (unless you ask for "deprecated" to be fatal).  Perhaps the 
> confusion arose from my talking about the fatal version I had been using 
> to find places it is used in Perl?
> 
> I doubt the feature would be removed until 5.16 (if at all) even if the 
> warning made it into 5.12. The deprecated warning does have the advantage 
> of extra clues for people who wonder what happened to their possessive 
> variables, which was covered in the prior messages months ago.

I'd like us to adopt a policy of actually removing things that we deprecate.
I'd like it to be consistent - everything first deprecated "now" is removed
"then". Otherwise people will become complacent about rewriting things -
"oh, they don't really mean it"

As I'd also like it to be "1 major release" between "now" and "then", I don't
like the idea of deprecating something for 5.12, but only removing it in 5.16.

(That's independent of what I think of the idea of deprecating ')

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