I realize you were tacitly chastising the OP for what you thought was a poor post. I don't agree that it was all that bad. I think the OP is earnest and has demonstrated a genuine interest in learning Perl. He or she just seems daunted by the basics. And after all, the OP did let us know that he or she is a Perl novice by his or her choice of PerlMonk username.

I was tacitly chastising you right back for the glaring omission in your self-described "poor attempt at humor." You picked on the infrequent case of y's that are one of a pair of consecutive vowels, but you completely missed the case of all vowels with diacritical marks. What about them? What about the possibility of input text in different character encodings, both "legacy" and Unicode? What about Unicode combining characters and Unicode normalization forms? There's much more to say about the definition of "vowel" as any code point that matches the trivial regular expression pattern [AaEeIiOoUu] than what you wrote tauntingly about it in your reply to the OP.


In reply to Re^4: Vowel search by Jim
in thread Vowel search by Noob@Perl

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.