in reply to Toggling between two values

Eh. I like the first one. Because my feeble Perl brain can understand it.