|laziness, impatience, and hubris|
Re: TIMTOWTDI and other languagesby broquaint (Abbot)
|on Apr 28, 2002 at 22:45 UTC||Need Help??|
Here's a ruby example
There's a quite a few other ways to do it too, but I liked that one the most.
Update: Noticing a somewhat lack of variety in the languages used here's a python example too
This is probably the more obvious path, but if you like your tools functional ...
The closest I can get in perl is this (map == list comprehension?)
update: added python examples