go ahead... be a heretic | |
PerlMonks |
Re: PGA Golf, Round 1 - Resultsby mtve (Deacon) |
on Sep 27, 2002 at 07:47 UTC ( [id://201137]=note: print w/replies, xml ) | Need Help?? |
Hole 6 can be improved by two chars: sub hole6{sort{$&x$a=~'[aeiuo]'cmp$&x$b=~//}@_}or, alternatively: sub hole6{sort{$a!~/[aeiuo]/.$&cmp$b!~//.$&}@_}
In Section
Meditations
|
|