Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

This script lists all links on a page. How do I get it to list all links on this page that are not working??
use HTML::LinkExtor; use LWP::Simple; $p = HTML::LinkExtor->new(\&cb, "http://www.perl.org"); sub cb { my($tag, %links) = @_; print "$tag @{[%links]}\n"; } getstore("http://www.perl.org/", "index.html"); $p->parse_file("index.html");

Replies are listed 'Best First'.
•Re: Web page and links
by merlyn (Sage) on Jun 21, 2002 at 13:29 UTC