Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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))
to
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003824]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2016-12-04 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (63 votes). Check out past polls.