Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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 |