The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

http_status - check the HTTP status of a URL

SYNOPSIS

        % http_status URL [URL ...]
        

DESCRIPTION

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.

SOURCE AVAILABILITY

This source is part of a SourceForge project which always has the latest sources in SVN, as well as all of the previous releases.

        http://sourceforge.net/projects/brian-d-foy/

If, for some reason, I disappear from the world, one of the other members of the project can shepherd this module appropriately.

AUTHOR

brian d foy, <bdfoy@cpan.org>

COPYRIGHT AND LICENSE

Copyright (c) 2007 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.