develooper Front page | perl.perl5.porters | Postings from December 2007

Re: Changes in m//m in 5.10

Thread Previous | Thread Next
From:
demerphq
Date:
December 24, 2007 04:05
Subject:
Re: Changes in m//m in 5.10
Message ID:
9b18b3110712240405h13fb1e89oaae6b4a4f9127a5c@mail.gmail.com
On 24/12/2007, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
> On Dec 23, 2007 11:20 AM, demerphq <demerphq@gmail.com> wrote:
> > I dont see the problem. If you use the same modifiers everywhere there
> > will be no warning.
>
> Actually the current implementation warns about useless use of
> modifers. It could be changed so that it doesn't warn when your
> useless modifiers are equal to that of the compiled pattern but that's
> not what the current implementation does.

Ah. then we aught to change that. It should only warn when the
modifers would have resulted in different match semantics.

Yves

-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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