Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: else statement not being executed

by flexvault (Prior)
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


Comment on Re: else statement not being executed
Select or Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2015-09-04 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (133 votes), past polls