http://www.perlmonks.org?node_id=11139036


in reply to Re^6: Hash versus chain of elsifs
in thread Hash versus chain of elsifs

"Better"? The advantage of lexical variables in the smallest possible scope is that the reader can be certain that all changes are local. state allows us to have a persistent lexical variable.
Bill