Apr 19, 2006, 9:08 AM
Post #2 of 13
You might be better off using a module like Net::Ping for this one.
Once you've established that the server itself is up, then you can worry about if it's serving the content it's meant to be.
Maybe a parameter csv file with a format of network name and box function, something like this:
You run a standard bit of code using Net::Ping which returns the response as to if the server's up or not (it can use six different protocols to check) and then once you know the hardware is physically responding, based on the value in the parameter file you check to see if it's serving the content.
You'd use LWP for both micky and donald, maybe Net::DNS for minnie and a quick search of CPAN should give you some ideas for how to query goofy.