Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: reset of match variables

by choroba (Chancellor)
on Oct 03, 2011 at 14:38 UTC ( #929351=note: print w/replies, xml ) Need Help??


in reply to reset of match variables

Just use /$regex/ and $SUM += $1