Is there a right way/best way to check for an internet connection?

Now I'm using LWP simple to retrieve a webpage, if that fails, just assuming no
connection. It's fast when it works. I like fast, but that assumption is not always correct and causes the script to fail inelegantly when it isn't. I hate inelegant :)


Must be a better way. Any thoughts appreciated.

ms

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to