List,

I have a hash of a hash here with that looks similar to the following...

%allusers = (
              'USER' => {
                          'user1' => 'YES',
                          'user2' => 'NO',
                          'user3' => 'YES'
                        }
            );

With the following code I can only print the keys of %allusers where I
want to be able to print the values as well as the second lot of keys
and values.


foreach $username (keys %allusers) {print $username, "\n";}

Now all this will print is...

USER

Does any one know how I can extract the second set of keys in %allusers
and also list the last set of values in %allusers.

I have tried the following...

foreach $username (keys $allusers{$_}) {print $username, "\n";}

No luck though...

Regards,

Dan




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to