GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HTML::Escape(3) User Contributed Perl Documentation HTML::Escape(3)

HTML::Escape - Extremely fast HTML escaping

    use HTML::Escape qw/escape_html/;
    my $escaped = escape_html("<^o^>");

This modules provides a function which escapes HTML's special characters. It performs a similar function to PHP's htmlspecialchars. It escapes the following characters:

    " & ' < > ` { }

This module uses XS for better performance, but it also provides a pure perl version.

No. Unescaping HTML requires a lot of code, and we don't want to do it. Please use HTML::Entities for it.

                     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.

2025-07-03 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.