in reply to Using HTTP::LinkExtor to get URL and description info
use strict; use HTML::LinkExtor; my $p = HTML::LinkExtor->new(\&cb, "http://www.perl.org/"); sub cb { my($tag, %links) = @_; print "$tag @{[%links]}\n"; } $p->parse_file("index.html");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using HTTP::LinkExtor to get URL and description info
by Popcorn Dave (Abbot) on Aug 08, 2002 at 20:18 UTC |