HTML::Escape(3pm) | User Contributed Perl Documentation | HTML::Escape(3pm) |
HTML::Escape - Extremely fast HTML escaping
use HTML::Escape qw/escape_html/; escape_html("<^o^>");
This modules provides a function which escapes HTML's special characters. It performs a similar function to PHP's htmlspecialchars.
This module uses XS for better performance, but it also provides a pure perl version.
Rate HTML::Entities HTML::Escape HTML::Entities 14.0/s -- -91% HTML::Escape 150/s 975% --
Goro Fuji
Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>
Text::Xslate, HTML::Entities
Copyright (C) Tokuhiro Matsuno
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2020-11-09 | perl v5.32.0 |