I don't have the rules with me (I'm at work now), but I thought that there has to be an even # (or 0) of each vowel separately. Is that right?
So if the word was: bane it would pass this program (if it was on an even line), but not the rules since there's an odd # of a's and e's (again, as I understand them and recall from memory). I'm not sure if I like the "present", though ... I'm a beginner and had the problem worked out (at a mighty 509 strokes ;) - we're playing double-par limit, right? ;)) and was at the point now where I was looking to simplify. While impressed with this code, I feel frustrated that I'll never be able to match that (w/o copying it)... :( Jason If memory serves me right, on Thursday 24 January 2002 12:10, Bill -OSX- Jones wrote: > A late Christmas present - 70 strokes... > > #!perl -n > next if(($.%2)||(((length)-1)%2));print"$_" unless((tr/aeiouy//)%2); > > Someone else submit it, my brain is hurting... :( > > _Sx____________________ > ('> -Sx- IUDICIUM > //\ Have Computer - > v_/_ Will Hack...