Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How to count substrings in an array?

by mbethke (Hermit)
on Feb 03, 2013 at 07:13 UTC ( [id://1016785]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $count;
    for(@array) {
        $count +=()= /RE/g;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-23 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found