more useful options | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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. In reply to Would there be any interest in HTML::Emojis by skx
|
|