http://qs321.pair.com?node_id=430566


in reply to Adding scalars but with a twist..

I.e. can you break the name of the scalar up and insert a number into it $Sel[1......80]Ttl so i can then use that in my additions.. ?
Yes, but the best way to do almost that it is to use an array:
for my $number (1 .. 80) { $selTtl[$number] = $value; }
Really, the advantages of not having to type 2 more characters ([]) are not worth it, considering the potential problems.