gasho has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I have two arrays that I want to combine into HASH.
Problem is there are multiple values per key. How can I combine the two arrays into HASH? Thanks a lot
@Object = qw(FolderObject); @Property = qw(FolderProperty1 FolderProperty2 FolderProperty3); %O_P #Desired Print output #FolderObject ==> FolderProperty1 FolderProperty2 FolderProperty3
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to create HASH with multiple values per Key
by ptum (Priest) on Apr 17, 2006 at 14:51 UTC | |
Re: How to create HASH with multiple values per Key
by Transient (Hermit) on Apr 17, 2006 at 14:35 UTC | |
by gasho (Beadle) on Apr 17, 2006 at 14:48 UTC | |
by davidrw (Prior) on Apr 17, 2006 at 14:57 UTC | |
Re: How to create HASH with multiple values per Key
by gasho (Beadle) on Apr 17, 2006 at 15:57 UTC | |
Re: How to create HASH with multiple values per Key
by izut (Chaplain) on Apr 18, 2006 at 13:30 UTC |
Back to
Seekers of Perl Wisdom