my $resolver = HTML::ResolveLink->new( base => http://www.example.com/, callback => \&callback, );
callback is an optional parameter, which is a callback subroutine reference which would take new resolved URI and the original path as arguments.
Heres an example code to illustrate how to use callback function.
$html = $resolver->resolve($html);
$count = $resolver->resolved_count;
Returns how many URIs are resolved during the previous resolve method call. This should be called after the resolve, otherwise returns undef.
Tatsuhiko Miyagawa <firstname.lastname@example.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 193: You forgot a =back before =head1
|perl v5.20.3||HTML::RESOLVELINK (3)||2006-11-28|