Were you trying to test whether $carroadnameverify2 is null in the elsif statement? If so, I think you meant this:
... elsif ($carroadnameverify2 eq '') { ...
$carroadnameverify2 =~ '' will evaluate to true, regardless of $carroadnameverify2's value or whether it's even defined.
In reply to Re: Output Repeats in the elsif statement
by Kenosis
in thread Output Repeats in the elsif statement
by PilotinControl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |