Contents
Problem
First attempt (589 strokes)
Eliminate that loop
Invert any if/unless
Ditch that split
Return values can be useful
$. is a useful variable
Ooops, still have "print".
Shorten all variable names
Whitespace elimination