Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: else statement not being executed

by flexvault (Monsignor)
on Nov 14, 2012 at 14:44 UTC ( #1003824=note: print w/replies, xml ) Need Help??

in reply to else statement not being executed

Welcome jonagondos,

The line you need to change is:

if (defined($user_radius))
if ( $user_radius )

'$user_radius' is defined, but equal to "". Even if you undefined it in the loop, you still would define it when you typed the 'CR'

Good Luck!

"Well done is better than well said." - Benjamin Franklin

Replies are listed 'Best First'.
Re^2: else statement not being executed
by jonagondos (Novice) on Nov 14, 2012 at 14:50 UTC
    thanks guys

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2016-10-21 21:09 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.