|
|
| P is for Practical | |
| PerlMonks |
Re: Output Repeats in the elsif statementby Kenosis (Deacon) |
| on Feb 13, 2013 at 21:08 UTC ( #1018637=note: print w/ replies, xml ) | Need Help?? |
|
Were you trying to test whether $carroadnameverify2 is null in the elsif statement? If so, I think you meant this:
$carroadnameverify2 =~ '' will evaluate to true, regardless of $carroadnameverify2's value or whether it's even defined.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||