http://www.perlmonks.org?node_id=57441


in reply to Dynamic array names

Are the names that important, or do you just need a hashset of arrays?

@array_names = ( 'joe', 'bob', 'sue' );
@array_numbers = ( 3.14, 42, 6, 1e100 );
%array_hash;

$array_hash{"names"} = \@array_names;
$array_hash{"numbers"} = \@array_numbers;