Help for this page

Select Code to Download


  1. or download this
    my $matches = {};
    $matches->{$user} = [grep {/$user/} @logins];
    
  2. or download this
    foreach my $user (keys %$matches) {
        print "$user: ". @{$matches->{$user}} . "\n";
    }
    
  3. or download this
    user1: 1
    user2: 0
    user3: 0
    
  4. or download this
    user1: Thu Nov  5 18:49:39 2009 [pid x] [user1] OK LOGIN: Client "127.
    +0.0.1"