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");
In reply to Re: Using HTTP::LinkExtor to get URL and description info
by hacker
in thread Using HTTP::LinkExtor to get URL and description info
by Popcorn Dave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |