Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Counting keys in a hash

by cspctec (Sexton)
on Nov 15, 2012 at 22:16 UTC ( [id://1004070]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ---------- <DATA> ------------
    
    ...
    Oct 17 10:35:48 esw001tff2 [Root]Root login failure! Occurred 1 time. 
    +(2012 17 10:35:48)
    Oct 17 10:35:49 esw001tff2 [Root]Root login failure! Occurred 1 time. 
    +(2012 17 10:35:49)
    Oct 17 10:35:50 esw001tff2 [Root]IP Spoofing from 255.255.255.255 to 2
    +55.255.255.255! Occurred 1 time. (2012 17 10:35:50)
    
  2. or download this
    DEVICE --> esw001tff2
    DATE   --> Oct 17
    ...
    ERROR  --> IP Spoofing from 255.255.255.255 to 255.255.255.255! Occurr
    +ed 1 time.
    
    The above error occurred 7 times
    
  3. or download this
    my %error_count;
    my (@data = <DATA>, @list, @splitter);
    ...
        print "ERROR\t--> "$_\n";
        print "\nThe above error occurred $error_count{$_} times\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1004070]
Approved by davido
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-24 01:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found