Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Summarizing an array of IP's

by thelenm (Vicar)
on Jan 06, 2004 at 21:49 UTC ( #319257=note: print w/replies, xml ) Need Help??

in reply to Summarizing an array of IP's

my %h; /^(\d+\.\d+\.\d+)/ and ++$h{$1} for <DATA>; print "$_: $h{$_} nodes\n" for sort keys %h; __DATA__

-- Mike

XML::Simpler does not require XML::Parser or a SAX parser. It does require File::Slurp.
-- grantm, perldoc XML::Simpler

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://319257]
[Mr. Muskrat]: (considered) Re^3: Please help with Regexp::Common needs to be reparented to Re^2: Please help with Regexp::Common
[Mr. Muskrat]: Is it just me or does that timeout issue seems to be happening more often lately?

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2017-01-19 16:20 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (170 votes). Check out past polls.