Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: m//g behaves strange...

by Anonymous Monk
on Nov 09, 2003 at 21:28 UTC ( [id://305716]=note: print w/replies, xml ) Need Help??


in reply to m//g behaves strange...

Your test output is entirely expected behavior according to the documentation. Perhaps it would be better if you indicated what you expected the output to be.

  1. m//g returns true or false in scalar context.
  2. \G is not useless.
  3. m//g won't reset pos() until the match fails.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-03-28 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found