in reply to Checking Server Availability

I'm agree with pg - using of the modules IO::Socket and IO::Socket::Net is more flexible and multipurpose because you can use sockets for http, ftp, upd etc. Of course, as variant you can use specific modules for each case: LWP family and libnet family.

====>
Mice were crying and stinging but went on nibbling the cactus ... 
                                              ( The facts of life )
                                                              <====