Package Info

perl-LWP-Online


Does your process have access to the web


Development/Libraries/Perl

This module attempts to answer, as accurately as it can, one of the nastiest technical questions there is.

Am I on the internet?

The answer is useful in a wide range of decisions. For example...

Should my test scripts run the online portion of the tests or just skip them?

Do I try to fetch fresh data from the server?

If my request to the server breaks, is it because I'm offline, or because the server is offline?

And so on, and so forth.

But 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!

You might have network access, but only to a for-money wireless network that responds to ever HTTP request with a page asking you to enter your credit card details for paid access. Which means you don't "REALLY" have access.

The mere nature of the question makes it practically unsolvable.

But with the answer being so useful, and the only other alternative being to ask the user "duh... are you online?" (when you might not have a user at all) it's my gut feeling that it is worthwhile at least making an attempt to solve the problem, if only in a limited way.


License: Artistic-1.0 or GPL-1.0+
URL: http://search.cpan.org/dist/LWP-Online/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.08-bp156.3.1 info GA Release 2023-07-22 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-LWP-Online
1.08-bp155.2.10 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-LWP-Online
1.08-bp154.1.22 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-LWP-Online
1.08-bp153.1.14 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-LWP-Online
1.08-bp152.3.15 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-LWP-Online
1.08-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-LWP-Online
1.08-bp151.2.14 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-LWP-Online
1.08-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-LWP-Online