perl-lwp-online 1.08 Checks whether your process has access to the web
This module attempts to answer, as accurately as it can, one of the nastiest technical questions there is: am I on the internet?
A host of networking and security issues make this problem very difficult. There are firewalls, proxies (both well behaved and badly behaved). We might not have DNS. We might not have a network card at all!