Think about Loose Coupling | |
PerlMonks |
Re: Pig Latinby Anonymous Monk |
on Feb 17, 2000 at 01:57 UTC ( [id://3589]=note: print w/replies, xml ) | Need Help?? |
A more concise (not to mention obfuscated) way to do it:
s@#(\w)(\w+)@#$1=~m#aeiou#i?$1.$2.'way':$1.$2.$1.'ay'@#egi;
In Section
Seekers of Perl Wisdom
|
|