Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: m modifier not doing what I'm expecting?

by Eliya (Vicar)
on Dec 21, 2011 at 12:15 UTC ( [id://944607]=note: print w/replies, xml ) Need Help??


in reply to m modifier not doing what I'm expecting?

You also want the /g modifier.  (/m alone matches from the beginning every time, thus the endless loop...)

Replies are listed 'Best First'.
Re^2: m modifier not doing what I'm expecting?
by ultranerds (Hermit) on Dec 21, 2011 at 12:28 UTC
    Aaah thanks - so was just missing the /g ... works like a charm now. Thanks!

    Andy

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://944607]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-26 05:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found