Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Printing the count for regex matches

by Lawliet (Curate)
on Mar 10, 2009 at 01:28 UTC ( #749471=note: print w/replies, xml ) Need Help??


in reply to Printing the count for regex matches

Declare @match before the loop (so that it is not overwritten each time), append any matches to @match, and move the print statement outside the while loop.

And you didn't even know bears could type.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://749471]
help
Chatterbox?
[marto]: Discipulus concerned partys should report things. as tye mentioned in his post (linked in the other thread from yesterday) there is an approach and strategy for such things
[Discipulus]: which node yesterday?
[Discipulus]: i cannot see any link to tye post..

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2017-06-23 08:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (538 votes). Check out past polls.