Bugorr has asked for the wisdom of the Perl Monks concerning the following question:
Is that possible to create a hash and each element in this hash would be an array. If there's what is the way to access elements of array?
Thank you.
Little Update: It gets a little more complicated:
I need to read a file which has:
email\tdomain
email\tdomain
I would like to create a hash with keys that are domains and emails part of array of different domains.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Arrays & Hashes
by friedo (Prior) on Aug 18, 2005 at 18:48 UTC | |
Re: Arrays & Hashes
by Zaxo (Archbishop) on Aug 18, 2005 at 18:51 UTC | |
Re: Arrays & Hashes
by Transient (Hermit) on Aug 18, 2005 at 18:51 UTC | |
Re: Arrays & Hashes
by artist (Parson) on Aug 18, 2005 at 19:33 UTC |
Back to
Seekers of Perl Wisdom