| 1 |
NAME |
| 2 |
Template::Plugin::Clickable::Email - Make email addresses in to HTML |
| 3 |
links |
| 4 |
|
| 5 |
VERSION |
| 6 |
Version 0.01 |
| 7 |
|
| 8 |
SYNOPSIS |
| 9 |
[% USE link_emails = Clickable::Email %] |
| 10 |
|
| 11 |
Then |
| 12 |
|
| 13 |
[% text | $link_emails %] |
| 14 |
|
| 15 |
or |
| 16 |
|
| 17 |
[% FILTER $link_emails %] |
| 18 |
<p>Some text that contains an address: [email protected].</p> |
| 19 |
[% END %] |
| 20 |
|
| 21 |
DESCRIPTION |
| 22 |
Template::Plugin::Clickable::Email converts any e-mail addresses found |
| 23 |
in the filtered text in to HTML "mailto:" links. |
| 24 |
|
| 25 |
This module uses Email::Find, see the documentation for that module for |
| 26 |
caveats relating to how addresses are parsed, and why some false |
| 27 |
positives may occur. |
| 28 |
|
| 29 |
AUTHOR |
| 30 |
Nik Clayton, "<[email protected]>" |
| 31 |
|
| 32 |
BUGS |
| 33 |
Please report any bugs or feature requests to |
| 34 |
"[email protected]", or through the web |
| 35 |
interface at |
| 36 |
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Template-Plugin-Clickabl |
| 37 |
e-Email>. I will be notified, and then you'll automatically be notified |
| 38 |
of progress on your bug as I make changes. |
| 39 |
|
| 40 |
COPYRIGHT & LICENSE |
| 41 |
Copyright (c) 2005 Nik Clayton All rights reserved. |
| 42 |
|
| 43 |
Redistribution and use in source and binary forms, with or without |
| 44 |
modification, are permitted provided that the following conditions are |
| 45 |
met: |
| 46 |
|
| 47 |
1. Redistributions of source code must retain the above copyright |
| 48 |
notice, this list of conditions and the following disclaimer. |
| 49 |
2. Redistributions in binary form must reproduce the above copyright |
| 50 |
notice, this list of conditions and the following disclaimer in the |
| 51 |
documentation and/or other materials provided with the distribution. |
| 52 |
|
| 53 |
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND |
| 54 |
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 55 |
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 56 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE |
| 57 |
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 58 |
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 59 |
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 60 |
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 61 |
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 62 |
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 63 |
THE POSSIBILITY OF SUCH DAMAGE. |
| 64 |
|