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:
Really, the advantages of not having to type 2 more characters ([]) are not worth it, considering the potential problems.for my $number (1 .. 80) { $selTtl[$number] = $value; }
|
---|
In Section
Seekers of Perl Wisdom