Re: Print second set of keys in hash of hash...

2001-12-18 Thread Michael R. Wolf
Curtis Poe <[EMAIL PROTECTED]> writes: > foreach my $user (keys %users) { > foreach my $name (keys %{ $users{$user} } ) { > print $users{$user}{$name},"\n"; > } > } > > Note how I wrap $users{$name} in %{...} to tell Perl that I am using a hash ref here. A way to break this down

Re: Print second set of keys in hash of hash...

2001-12-18 Thread Curtis Poe
--- Daniel Falkenberg <[EMAIL PROTECTED]> wrote: > Hello All, > > I am still having trouble printing out a second lot of hash keys in a > hash of a hash. Here is what I have so far. Any ideas or suggestions > will be greatly appriciated... > > %users = ( >'user1' => { >

Print second set of keys in hash of hash...

2001-12-18 Thread Daniel Falkenberg
Hello All, I am still having trouble printing out a second lot of hash keys in a hash of a hash. Here is what I have so far. Any ideas or suggestions will be greatly appriciated... %users = ( 'user1' => { 'Fullname1' => 'YES' },