Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2016-06-30 21:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (403 votes). Check out past polls.