in reply to naming array from a scalar

Instead of using variable variable names, you should use a hash instead. See perldata, perldsc and perlreftut for details.
Perl 6 - links to (nearly) everything that is Perl 6.