I think that is right, I admit that Perl's data structures confuse me and I don' t 
have it right yet.

I have a program that has an array of days of the month, the array value is a hash, 
the value of the hash is a hash, and its value is an array
$logs[$day]{<username>}{<authmethod>}[]
This structure works fine to load it up, it has the username as the key, the 
authentication method as a key, and the array element 0 is success count, element 1 is 
failure count

My problem is it took me hours to get it to print! I know it is based in my lack of 
understanding of de- referencing the values.  I printed it by looping on the array and 
lots of if statements.  If another authmethod is used the program fails to print it.   
Can someone show me how I can print this out?  

Chris D. Garringer
LAN/WAN Manager
Master Certified Netware Engineer
Microsoft Certified Systems Engineer
Certified Solaris Administrator
Red Hat Certified Engineer
[EMAIL PROTECTED]
fax 713-896-5266

Reply via email to