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

Re: [PATCH] deprecate ?PATTERN?

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
November 24, 2010 00:27
Subject:
Re: [PATCH] deprecate ?PATTERN?
Message ID:
AANLkTi=ONOY4PnJrA4GzJ1UVE6RDYeMMQdm9pExn7qbZ@mail.gmail.com
On 24 November 2010 08:57, Zefram <zefram@fysh.org> wrote:
> In discussing (on #p5p) possible new operators, we ran into the issue
> that the obscure ?PATTERN? syntax gets in the way of most uses we could
> potentially make of the question mark.  It was proposed that we could
> deprecate that syntax to reclaim the question mark.  Attached patch
> does so.  It leaves the match-once semantics still available through
> m?PATTERN?.

I'd be a bit nostalgic of this venerable piece of sed-like syntax, but
I would not object to the deprecation.

Can you give an example of future usage of "?" you were thinking about ?

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