in reply to Arrays names containing variables

You need to have a really good reason for doing this.
no strict refs; @{"sum$var"}=(1,2,3);
Much much much better is to use a hash or array. Since the indexing will be numeric an array is ideal.
my @sums; $sums[1]=[1,2,3]; print @{$sums[1]}; push @{$sums[1]},"foo";

Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.