Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: nested if else

by lidden (Curate)
on Jul 13, 2011 at 06:04 UTC ( #914061=note: print w/replies, xml ) Need Help??


in reply to nested if else

Your variables will contain newline chars. All your ifs will fail. Try chomp $metric; after you have read something into it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://914061]
help
Chatterbox?
[Happy-the-monk]: Good morning! "You have 666 points until level ..." - alright then, prepare for the worst.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2017-12-18 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (476 votes). Check out past polls.

    Notices?