Perl: the Markov chain saw | |
PerlMonks |
Re^2: writing a utility to determine whether I have a working wifi connectionby Aldebaran (Curate) |
on Jul 29, 2019 at 19:29 UTC ( [id://11103594]=note: print w/replies, xml ) | Need Help?? |
(re-ordered for thematic reasons) Thanks all for responses. It might also be useful to GET your modem's status page. It can tell if your connection from your house or office to your ISP is up or not.This simple advice came just in time for me to ask the comcast guy the address. It isn't the old 192.0.0.1 it used to be, and the page seems to have more functionality than I recall. Another option is LWP::Online.I'd like to unpack this a bit. First, I do have a working script:
I attempted to dig through a few parts of this listing for Online.pm. I have any number of questions after having contended with the source for several days now. Regarding this snippet:
What is happening with the subs here? You get about hip deep in it and need to look at source for LWP::Simple. Is this a core module? In this snippet from LWP::Online, how does it import a lexical variable?
This is get in LWP::Simple
How would one add his own site to @RELIABLE_HTTP? Thanks for your comments
In Section
Seekers of Perl Wisdom
|
|