|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: else statement not being executedby greengaroo (Friar) |
| on Nov 14, 2012 at 14:34 UTC ( #1003819=note: print w/ replies, xml ) | Need Help?? |
|
When you "chomp" $user_radius, it is no longer "undef", it becomes an empty string, therefore it is always defined. You should also verify if it is empty.
Testing never proves the absence of faults, it only shows their presence.
-- greengaroo
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||