WWW::Link::Tester - base class for link testers.
use WWW::Link::Tester $ua=create_a_user_agent(); my $tester = new WWW::Link::Tester, $ua; $link=get_a_link_object(); $tester->test_link($link);
This class acts as a base for constructing link testing classes. It provides methods that are useful within those classes.
handle_response is normally just the same as apply response. The extra level of indirection can be used where some responses aren't meant to directly affect the link.
We have a response which should be used to affect the state of the link. This should only be called at the end of a chain of redirects, not for each member in the chain.
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.