Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: else statement not being executed

by flexvault (Parson)
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
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: (3)
As of 2014-09-20 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (159 votes), past polls