in reply to Re^4: Loop, but print once.
in thread Loop, but print once.
Mostly 'cause I didn't notice you initialized @prev_cells until after I already had the if in place. :) I have no problem with how you did that. (Mind you, $SPACE works just as well as the empty string.)