NAME

URL::Check - Check a list of URL and respond accordingly.

VERSION

Version 0.11

DESCRIPTION

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

url-check --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($file_name)

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

submitReport(%report)

Print on console or send by mail the error output

errorReport()

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

AUTHOR

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

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 (C) 2011 - 2016 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.