> > I want to traverse that hash of hashes to extract the user agent of > > each IP whose user type is "robot" like this: >
D'OH! I just re-read the problem ... amend to read print "$key \"$log{$key}{user_agent}\"\n" if $log{$key}{user_type} eq 'robot'; -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Lawrence Statton - [EMAIL PROTECTED] s/aba/c/g Computer software consists of only two components: ones and zeros, in roughly equal proportions. All that is required is to sort them into the correct order. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>