Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Count the number of matched characters

by ioannis (Prior)
on May 28, 2006 at 16:03 UTC ( #552192=note: print w/replies, xml ) Need Help??


in reply to Count the number of matched characters

Another way is to do this:
() = substr($_,-17) =~ / A (?{ print 'yes' if $::i++>12}) /xg;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://552192]
help
Chatterbox?
and God said, "Let Newton be!"...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2017-02-23 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (347 votes). Check out past polls.