WWW::Link::Tester::Simple - a link tester that uses the LWP head method
use WWW::Link::Test::Simple $ua=create_a_user_agent(); $link=get_a_link_object(); WWW::Link::Test::Simple::test_link($ua, $link); WWW::Link::Tester::Simple::Test($url)
This is a simple Link Testing module which accepts a url and returns a status based on the result returned by the LWP useragent.
The link is tested and then given information about what was discovered. The link then records this information for future use..
This function tests a link by going out to the world and checking it and then telling the associated link object what happened.
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.