http_status - check the HTTP status of a URL
% http_status URL [URL ...]
http_status gets the HTTP status of a URL as returned by the server. It actually
works with more than HTTP links since it uses the "LWP" Perl module
which treats all URLs the same. This works too:
% perl script/http_status file:///Users/brian/.login
If you have "Term::ANSIColor", it will color the output. If you have
"HTML::SimpleLinkExtor", it will parse the HTML of the resource and
then check all of those links.
This source is in Github:
If, for some reason, I disappear from the world, one of the other members of the
project can shepherd this module appropriately.
brian d foy, "<email@example.com>"
Copyright © 2007-2016, brian d foy <firstname.lastname@example.org>. All rights
This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.