Home > test-linkchecker

test-linkchecker

Test-linkchecker is a project mainly written in ..., it's free.

Check webpage for broken links.

NAME Test::LinkChecker - Check webpage for broken links.

VERSION Version 0.01

SYNOPSIS use strict; use warnings;

       use Test::LinkChecker;
       use Test::More;
       use WWW::Curl::Easy;

       my $curl = new WWW::Curl::Easy;

       $curl->setopt(CURLOPT_HEADER, 0);
       $curl->setopt(CURLOPT_FOLLOWLOCATION, 1);
       $curl->setopt(CURLOPT_VERBOSE, 0);
       $curl->setopt(CURLOPT_UNRESTRICTED_AUTH, 1);
       $curl->setopt(CURLOPT_NOBODY, 1);
       $curl->setopt(CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)');

       my $url = 'http://google.com';

       links_ok($curl, $url);
       images_ok($curl, $url);

       done_testing();

SUBROUTINES/METHODS links_ok ($curl, $url) Check list of the links found in the webpage.

images_ok ($curl, $url) Check list of the images found in the webpage.

AUTHOR z6x0a57, ""

BUGS Please report any bugs or feature requests to "bug-test-linkchecker at rt.cpan.org", or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-LinkChecker 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 Test::LinkChecker

   You can also look for information at:

   ·   RT: CPAN’s request tracker

       http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-LinkChecker

   ·   AnnoCPAN: Annotated CPAN documentation

       http://annocpan.org/dist/Test-LinkChecker

   ·   CPAN Ratings

       http://cpanratings.perl.org/d/Test-LinkChecker

   ·   Search CPAN

       http://search.cpan.org/dist/Test-LinkChecker/

LICENSE AND COPYRIGHT Copyright 2010 z6x0a57.

   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.