develooper Front page | perl.beginners | Postings from February 2002

Re: Hash Question

Thread Previous | Thread Next
From:
Dave Benware
Date:
February 1, 2002 11:44
Subject:
Re: Hash Question
Message ID:
3C5AF00C.D3524071@Townisp.com


"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
> 
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org


If, by chance, you're not confused enough yet, you could take a 
look at a "tutorial", (and I use that term loosely), that I wrote 
ONLY to help myself understand nested hashes.  

(Although I think what you want is really called a hash of lists, 
examples of which should be in any good Perl book).

Bompa

PS: Keep in mind said "tutorial" is not authoritative as I was leaning
more towards illustrating the concept rather than coding accuracy.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About