good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Perl Golf (was RE: (Ovid) RE: Pig Latin)by japhy (Canon) |
on Jul 23, 2000 at 23:12 UTC ( [id://23996]=note: print w/replies, xml ) | Need Help?? |
I'm just playing through. I made your code case-insensitive
and did a bit of regex tomfoolery.
I don't see the need to save 3 pieces of data. And using [^\W0-9_] is shorter than [bcdf..xyz] and [b-df-hj-np-tv-z] and it forces the reader to think for a second. ;). And I saved space with the quoting on the RHS. Score: 53. $_="goto+F.print+chop;\n=yhpaj";F1:eval
In Section
Seekers of Perl Wisdom
|
|