Accessing the values of HoH

2006-12-28 Thread M. Lewis
In my most recent postings, I was dealing with first HoA and now HoH. In my previous example code, I ended up with an output that looked something like this: jelly -- strawberry apple grape pear jam -- strawberry apple grape milk -- plain strawberry chocolate I thought I'd prefer to have it

Re: Accessing the values of HoH

2006-12-29 Thread John W. Krahn
M. Lewis wrote: > > In my most recent postings, I was dealing with first HoA and now HoH. > > In my previous example code, I ended up with an output that looked > something like this: > > jelly -- strawberry apple grape pear > jam -- strawberry apple grape > milk -- plain strawberry chocolate >

Re: Accessing the values of HoH

2006-12-29 Thread Mumia W.
On 12/29/2006 12:22 AM, M. Lewis wrote: [...] I thought I'd prefer to have it listed more like this: jelly -- strawberry apple grape pear [...] So in the following snippet, I tried to add a "\n" onto the value of the HoH. for my $i ( keys %HoH ) { %{$HoH{$i}} =

Re: Accessing the values of HoH

2006-12-29 Thread M. Lewis
John W. Krahn wrote: M. Lewis wrote: In my most recent postings, I was dealing with first HoA and now HoH. In my previous example code, I ended up with an output that looked something like this: jelly -- strawberry apple grape pear jam -- strawberry apple grape milk -- plain strawberry chocola