in reply to Boustrophedon

My preferred flip-flop is $|:
perl -lpe'$_=reverse if--$|'

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;