WWW::Link::Tester::Complex - a careful tester for broken links
use WWW::Link::Test::Complex $ua=create_a_user_agent(); $link=get_a_link_object(); WWW::Link::Test::Complex::test_link($ua, $link); WWW::Link::Tester::Simple::Test($url)
This is a link testing module based on the work of Phil Mitchell at Harvard College. The aim is to test very carefully if a link is really there.
N.B. I have done the minimum reasonable edits on the file so that any later improvements can be easily added. This means that the module contains and sections of code which are not relevant to LinkController.
This system should be controlled by the robot logic of the user agent it uses provided that the robot returns a 4xx response code.
Copyright (c) 2000 by the President and Fellows of Harvard College
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Please see the source code for further details
This function acts as glue between follow_url and LinkController. It returns a constructed HTTP::Response. This will mean that information is lost since we actually often have created the code from another response.
To install WWW::Link, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Link
CPAN shell
perl -MCPAN -e shell install WWW::Link
For more information on module installation, please visit the detailed CPAN module installation guide.