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

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

Thread Previous
David Golden
November 24, 2010 11:11
Re: [perl #79688] [PATCH] Deprecate ?PATTERN? match and warn on usage
Message ID:
On Wed, Nov 24, 2010 at 10:04 AM, Tom Christiansen <> 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

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

-- David

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About