We don't bite newbies here... much | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I didn't quite know how to label this one, but here's what i want to do..
Lets says i have numeric variables ranging from $Sel1Ttl all the way through to $Sel80Ttl, is there an easy method to add all the values together via a loop. Instead of typing $Sel1Ttl + $Sel2Ttl + Sel3Ttl...... + $Sel80Ttl. I.e. can you break the name of the scalar up and insert a number into it $Sel1......80Ttl so i can then use that in my additions.. ? In reply to Adding scalars but with a twist.. by snappybo
|
|