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

Re^2: reset of match variables

by hbm (Hermit)
on Oct 03, 2011 at 18:22 UTC ( #929399=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $SUM += /$regex/;
    
  2. or download this
    nawk '/([0-9]*)/{tot+=$1}END{print tot}' file
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2015-07-31 08:38 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 (276 votes), past polls