Keep It Simple, Stupid | |
PerlMonks |
Would there be any interest in HTML::Emojisby skx (Parson) |
on Feb 19, 2014 at 19:51 UTC ( [id://1075508]=perlquestion: print w/replies, xml ) | Need Help?? |
skx has asked for the wisdom of the Perl Monks concerning the following question: As part of a markdown sharing service, which is written in Perl using CGI::Application, I needed to support :emojis: Looking on CPAN I couldn't find anything suitable, so I hacked together a simple module which I've called HTML::Emoji, which attempts to parse HTML, using HTML::TokeParser to do the heavy work. It isn't unusual for me to write little toy modules like this, but mostly the are designed to solve a specific problem that I have and don't seem generally useful. For this I'm unsure though, does it seem like a useful module or not?
As you can see most of the work here is knowing what is a valid token and what is not. Obviously if I did release it I'd need to bundle up the images too, along with test-cases, etc.
Back to
Seekers of Perl Wisdom
|
|