If you want to check $carroadnameverify2 as empty, you can try following.
elsif(!defined $carroadnameverify2 && $carroadnameverify2 =~ /^\s*$/)
Above condition will print CAR RECORD NOT FOUND message when $carroadnameverify2 is undef or null or string with blank characters.
In reply to Re: Output Repeats in the elsif statement
by nvivek
in thread Output Repeats in the elsif statement
by PilotinControl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |