Why would one not want to have the anchors simply because there is no term that exactly starts with those two letters?
because the presence of the anchor suggests, at least to me, that there are such terms. a matter of personal preference, i guess.
1. hacker wants to have a page per letter of the alphabet
ah, that was not clear to me. while all of the example data did start with P, i saw no indication that other starting letters have their own page. in fact, i read this part (from OP):
I can cut down the amount of vertical scrolling through a long list, by making them "Pa", "Pe", "Pi", "Po", "Pu", for each letter of the alphabet ($letter . [aeiou];)
as saying that all terms are on one page.

in general, i question the use of vowels for these transitions. for example, between a and e are b, c, and d, which are not very common as second letters, except for c when proceeded by s or for words that begin with vowels (which don't often have another vowel in the second position..). similar distribution issues lie between i and o.


In reply to Re^7: Programmatically building named anchors to warp to sections by mreece
in thread Programmatically building named anchors to warp to sections by hacker

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.