
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:
http://github.com/briandfoy/http-simplelinkchecker
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, <bdfoy@cpan.org>

Copyright (c) 2007-2010 brian d foy. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.