Can u clarify your question ... what is value1..6 ... it looks like you are
trying to create a hash of references to arrays .. in which case value1 to 6
does not come into play at all
my %hash
$hash{key1}->[\@list1,\@list2,\@list3]
$hash{key2}->[\@list4,\@list3,\@list1]
to dereference the second element in list3 ...
$hash{key1}->[2][1] .. remember that index starts from 0
did i answer your question?
On Tue, Aug 21, 2001 at 06:09:00PM -0400, Jennifer Pan shaped the electrons to read:
>
>
> > -----Original Message-----
> > From: Jennifer Pan
> > Sent: Tuesday, August 21, 2001 6:08 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: hash, key value
> >
> > Dear all:
> > I would like to construct a hash, the value of each key is a bunch of
> > refs to lists
> >
> > $value1 --> @list1
> > $value2 --> @list2
> > %hash{key} = $value3 -->@list3
> > $value4 --> @list4
> > $value5 --> @list5
> >
> > since I generate the %hash recursively, my question is that can the
> > $value1 to $value6 be the same ( same string) for differrent hash
> > keys?
> > this could be a really niave question, but I really am not sure about
> > the answer
> > thanks a lot
> >
> > -jennifer
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]