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
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.

apply_response
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.