Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 musing on the Monastery: (9)
As of 2015-08-02 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (2 votes), past polls