Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: else statement not being executed

by greengaroo (Hermit)
on Nov 14, 2012 at 14:34 UTC ( #1003819=note: print w/ replies, xml ) Need Help??


in reply to else statement not being executed

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.


Comment on Re: else statement not being executed

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003819]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2016-02-09 18:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (323 votes), past polls