in reply to Re: lexical scope in if/elsif tests
in thread lexical scope in if/elsif tests

I ended up using a second variable name for the elsif test. Thanks for pointing me to the right place in the documentation.