Re: putting list into value for hash key

2003-08-14 Thread Rob Dixon
Hi Trina. Trina wrote: > > I have a hash that contains keys, but does not yet have values. > How do you push a list of an item into the value for a particular key? > > I tried doing this example below, but it does not seem to be working. > Is there anything wrong with the way this is written? Can

Re: putting list into value for hash key

2003-08-14 Thread James Edward Gray II
On Tuesday, August 12, 2003, at 02:27 PM, Trina Espinoza wrote: I have a hash that contains keys, but does not yet have values. How do you push a list of an item into the value for a particular key? I tried doing this example below, but it does not seem to be working. Is there anything wrong w

RE: putting list into value for hash key

2003-08-14 Thread Bob Showalter
Trina Espinoza wrote: > I have a hash that contains keys, but does not yet have > values. Well, that's not technically possible. Each key is associated with a single scalar value. The only way to create a key is to assign a value. > How do you push a list of an item into the value for a > partic

putting list into value for hash key

2003-08-14 Thread Trina Espinoza
I have a hash that contains keys, but does not yet have values. How do you push a list of an item into the value for a particular key? I tried doing this example below, but it does not seem to be working. Is there anything wrong with the way this is written? Can someone give me suggestions for t