I have a unicore/html_alias.pl (amongst others) to be use in conjunction with the charnames pragma, like this:
use charnames ":alias" => ":html"; print "\N{pound}\N{sup2}"'
It’ll probably make it into the 5.15 development cycle. The start of it looks like this:
############################################################### # # File "html_alias.pl" containing aliases for use with # # use charnames ":alias" => ":html"; # # Each section in table below is grouped and sorted not by alias # name but rather so one can visually locate a desired character. # # To view table sorted by key, see unused DATA section below. # ############################################################### use utf8; use strict; use warnings qw[ FATAL all ]; # "return" is to quiet perl -wc return ( # Number aliases: these are \p{Other_Number} "sup1" => "SUPERSCRIPT ONE", # ¹ U+00B9 "sup2" => "SUPERSCRIPT TWO", # ² U+00B2 "sup3" => "SUPERSCRIPT THREE", # ³ U+00B3 "frac12" => "VULGAR FRACTION ONE HALF", # ½ U+00BD "frac14" => "VULGAR FRACTION ONE QUARTER", # ¼ U+00BC "frac34" => "VULGAR FRACTION THREE QUARTERS", # ¾ U+00BE # Currency sign aliases: \p{Currency_Symbol} "curren" => "CURRENCY SIGN", # ¤ U+00A4 "cent" => "CENT SIGN", # ¢ U+00A2 "pound" => "POUND SIGN", # £ U+00A3 "yen" => "YEN SIGN", # ¥ U+00A5 "euro" => "EURO SIGN", # € U+20AC
Does that look useful to you?

In reply to Re: What should I call my module? by tchrist
in thread What should I call my module? by John M. Dlugosz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.