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

Re: Changes in m//m in 5.10

Thread Previous | Thread Next
December 24, 2007 04:05
Re: Changes in m//m in 5.10
Message ID:
On 24/12/2007, Ævar Arnfjörð Bjarmason <> wrote:
> On Dec 23, 2007 11:20 AM, demerphq <> 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.


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

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