in reply to Vowel search

What error are you getting?

The code sample you provided does not compile. Although we can try to guess what you meant, it'd be much better if you provided working code we can use to reproduce your problem exactly.

GotToBTru has already given you guidance on the regex issue.

Replies are listed 'Best First'.
Re^2: Vowel search
by Noob@Perl (Novice) on Jun 11, 2014 at 20:52 UTC
    sorry, updated the parent post with error

      You're missing things in a few places (note I'm making a few assumptions on your code but this seems to make the most sense to me): 1. The closing curly brace of the while, which should be after the push statement. 2. The opening curly of the foreach, which should be on that line instead of the semicolon. 3. The closing curly of the foreach (or if, depending how you look at it) ...and you just edited the node to take care of that one.

      As described in How do I change/delete my post?, please mark the changes you have made to your node, because currently GotToBTru's and kennethk's responses don't make sense any more.