in reply to Data Structures
Here's some quick code that defines the hash, inserts an element, and extracts an element out of the structure. Hopefully this will be enough to get you started along the path to Perl datastructure enlightenment:
my %users; $users{foo}=[{a=>1,b=>2},{a=>2,b=>3}]; my $x=$users{foo}[1]{a}; #$x==2 at this point
|
|---|