From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

WWW::Link::Reporter::HTML - Report on status of links in HTML

SYNOPSIS

$link=new WWW::Link;
#over time do things to the link ......
$::reporter=new WWW::Link::Reporter::HTML;
$::reporter->examine($link)

or see WWW::Link::Selector for a way to recurse through all of the links.

DESCRIPTION

This class will output information about any link that it is given.

If it's constructor is given an index (CDB_File::BiIndex or BiIndex) then it can use that to generate lists of urls containing links being reported on.

new

This

This function simply prints a heading for a link with the url and text given as arguments.

page_list

This takes a list of urls as an argument and generates a unnumbered html list consisting of those urls inside links to those urls. It is for use for refering to pages on which urls occur.

Obviously, if the URLs are file urls, then the machine they are being read on must be the same as the one the file urls refer to.

$LR->Link()

This method puts out a url inside a link refering to that url. I don't want to encourage this for general use: it's much better to use a description generally. This program, however, deals directly with links so it suits us here.