Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Getting the count of a particular alphabet using subroutine

by k_manimuthu (Monk)
on Aug 06, 2010 at 08:01 UTC ( #853340=note: print w/ replies, xml ) Need Help??


in reply to Re: Getting the count of a particular alphabet using subroutine
in thread Getting the count of a particular alphabet using subroutine

And another one way

$string='Put your text'; $count++ while($string=~ m{t}g);


Comment on Re^2: Getting the count of a particular alphabet using subroutine
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (15)
As of 2015-07-06 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (71 votes), past polls