in reply to How to automate telent verification of multiple host from command prompts
You could roll your own, but it is probably the case that Nmap::Scanner has all you need.