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

Re: Hash Question

Thread Previous | Thread Next
Dave Benware
February 1, 2002 11:44
Re: Hash Question
Message ID:

"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:
> For additional commands, e-mail:

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).


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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About