Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Count the number of matched characters

by ioannis (Monsignor)
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?
[Happy-the-monk]: Discipulus: si!
[Eily]: Discipulus 2018 has to be better than 2017. The latter was kinda odd, but not we got even :D
[Corion]: Eily++ # basic number theory

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2018-01-23 08:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (242 votes). Check out past polls.

    Notices?