in reply to which data structure and how?
my @array; my %hash = ( name => "Me", address => "Right here" ); push @array, \%hash; # etc etc etc print $array[2]->{ 'name' }; # prints name from the 3rd hash in the a +rray.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: which data structure and how?
by malaga (Pilgrim) on Mar 31, 2001 at 05:36 UTC | |
by chromatic (Archbishop) on Mar 31, 2001 at 06:31 UTC | |
by malaga (Pilgrim) on Mar 31, 2001 at 06:54 UTC | |
by tilly (Archbishop) on Mar 31, 2001 at 09:45 UTC |