Some additional suggestions: nmap::scanner and nmap::parser look useful for security scanning given IP address. The stat() function returns info on a file. Hits by IP address can be best maintained in a storable, to maintain a persistant hash based on address => hits. Geo::IP2Location to locate an IP address geographically.
Thanks for your suggestions. Although Geo::IP2Location sounds interesting, the segments I need are internal to our Company, not public ip address spaces.... hence the merging with a segment inventory dump. We do use nmap, etc., and also Foundstone and a number of other tools. I'll rtfm further on storables and your other suggestions.... I appreciate the help.