The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

URL::Check - Check a list of URL and react (emails etc.) in case of failures.

VERSION

Version 0.04

DESCRIPTION

This module is not aimed at being used directly but via the script url-check.pl.

    url-check.pl --config=my-config.txt

If no --config argument is set, the value is taken from environment variable URL_CHECK_CONFIG.

More examples can be found in the t/resources/config directory but consist in default parameter (mailto etc., then each url to be tested can be followed by dedicated test (time.delay, xpath etc.)

More info can be found here

METHODS

readConfig([configFile])

Read the config file. Default file name is taken from $URL_CHECK_FILE

run()

Run the configured tests, and store the result into the local @report

errorReport()

Build a map (subject => ..., content=> ...) with the errors after the run return () if no error were detected

submitReport(%report)

Print on console or send by mail the error output

AUTHOR

Alexandre Masselot, <alexandre.masselot at gmail.com>

MAINTAINER

Currently maintained by Mohammad S Anwar (MANWAR) <mohammad.anwar @ yahoo.com>

REPOSITORY

https://github.com/manwar/URL-Check

BUGS

Please report any bugs or feature requests to bug-url-check at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=URL-Check. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc URL::Check

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2011 Alexandre Masselot.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.