[Catalyst] displaying email addresses

Jon Schutz jon+catalyst at youramigo.com
Thu Jun 28 13:12:48 GMT 2007


On Thu, 2007-06-28 at 14:22 +0300, Octavian Rasnita wrote:
> Hi,
> 
> Do you know if there are any Catalyst plugins, or TT filters, or perl 
> modules that can find all the email addresses in a text and convert them 
> into a Javascript code that prints that email address (possibly as a link)?
> 
> I want to do something like this for avoiding robots that harvest email 
> addresses for doing spam, but in the same time print the correct email 
> address.
> 

mosemailcloak in Joomla/Mambo (PHP) does this.  It's about a page of PHP
code that looks like it could be converted into a half-dozen lines of
Perl if you had the mind to.  I haven't come across an equivalent in
Perl.

-- 

Jon





More information about the Catalyst mailing list