develooper Front page | perl.perl5.porters | Postings from November 2010

Re: [perl #79688] [PATCH] Deprecate ?PATTERN? match and warn on usage

Thread Previous
From:
David Golden
Date:
November 24, 2010 11:11
Subject:
Re: [perl #79688] [PATCH] Deprecate ?PATTERN? match and warn on usage
Message ID:
AANLkTikU-PLmx78qqaGMSuRPKEy9m+snMi7tjt1zAecy@mail.gmail.com
On Wed, Nov 24, 2010 at 10:04 AM, Tom Christiansen <tchrist@perl.com> wrote:
> I don't understand whether one wish to deprecate
> C<?pat?> only, or also C<m?pat?>.  You only mean
> to do the first one, right?  Because if you intend
> to deprecate *both*, there's a problem.

It's been hammered out on IRC.  The "vaguely deprecated" applies to
?PATTERN? not m?PATTERN?, which is not how I read it the first time
around.

Zefram's patch is the correct (more limited) one that only issues
warnings for ?PATTERN?.

-- David

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About