Template::Plugin::ResolveLink - Template plugin for HTML::ResolveLink
use Template::Plugin::ResolveLink; # in your template [% USE ResolveLink -%] [% FILTER resolve_link base = "http://www.example.com/base/" -%] <a href="foo.html"><img src="/bar.gif"></a> <a href="mailto:bar">foo</a> [% END %] # will become <a href="http://www.example.com/base/foo.html"><img src="http://www.example.com/bar.gif"></a> <a href="mailto:bar">foo</a>
Template::Plugin::ResolveLink is a wrapper for HTML::ResolveLink to be used in Template Toolkit templates.
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
HTML::ResolveLink
To install Template::Plugin::ResolveLink, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::ResolveLink
CPAN shell
perl -MCPAN -e shell install Template::Plugin::ResolveLink
For more information on module installation, please visit the detailed CPAN module installation guide.