Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Dynamic array namesby Masem (Monsignor) |
on Feb 09, 2001 at 22:53 UTC ( [id://57441]=note: print w/replies, xml ) | Need Help?? |
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;
In Section
Seekers of Perl Wisdom
|
|