Front page | perl.beginners |
Postings from February 2002
Re: Hash Question
Thread Previous
From:
Deen Hameed
Date:
February 1, 2002 10:10
Subject:
Re: Hash Question
Message ID:
Pine.LNX.4.44.0202012332370.5166-100000@localhost.localdomain
Keys are unique in a hash; what you put in them is up to you. the new
value will overwrite the old value, unless you append it during
assignment, using the . operator. Yes, you can store a hash in a hash in a
hash... :)
try perldoc perldsc for stuff on data structures.
deen
On Fri, 1 Feb 2002, Balint, Jess wrote:
> Since this is a beginners list, I thought I would be allowed to ask this
> question. Can there be multiple values for hash keys, or just one? The
> reason I am asking is that I am working on a statistical program and would
> need to use multiple hashes as values of another hash. If this is possible,
> please let me know. Thank you.
>
> -Jess
>
>
--
Deen Hameed - hameedd@flashmail.com
One OS to rule them all, One OS to find them,
One OS to bring them all, and in the darkness bind them.
-- Bilga
Thread Previous