Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How to create a hash which looks like this@array1=qw(A B C); @array2=qw(1 2 3);
%hash = ( array1=>['A','B','C'], array2=>['1','2','3'] };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Two arrays into hash
by moritz (Cardinal) on Jul 16, 2009 at 08:29 UTC | |
|
Re: Two arrays into hash
by Bloodnok (Vicar) on Jul 16, 2009 at 10:31 UTC | |
by davorg (Chancellor) on Jul 16, 2009 at 10:40 UTC | |
by Bloodnok (Vicar) on Jul 16, 2009 at 10:43 UTC |