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

Re: Changes in m//m in 5.10

Thread Previous | Thread Next
From:
Andy Lester
Date:
December 19, 2007 13:59
Subject:
Re: Changes in m//m in 5.10
Message ID:
9E609722-7921-4DF7-918E-151BDDFACAB6@petdance.com

On Dec 19, 2007, at 3:26 PM, Rafael Garcia-Suarez wrote:

> The effect of /m is no longer global, but it now only affects the
> regexp it was applied to. No more unwanted side effects! See bug
> http://rt.perl.org/rt3/Ticket/Display.html?id=22354
> Incidentally, that was to fix this bug that $* was removed.


So really, all this time the /m should have gone on the qr//, not on  
the m/$regex/ ?

xoa


--
Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance





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