in reply to perl if statement

Just a parenthetic note: neither the  "<title>Account/title>" string in the if-block true clause nor the  "<title>Account /title>" string in the false clause of the OPed code are valid HTML elements.


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^2: perl if statement
by GrandFather (Saint) on Mar 01, 2016 at 01:32 UTC

    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!

    Premature optimization is the root of all job security