in reply to Re: perl if statementin thread perl if statement
which is a one line fix in the templated version, and a fix in two different places in the code in the OP's version. ;-)
Templates for the win!