Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: beginner scripting question re: if elsif else

by runrig (Abbot)
on Oct 11, 2012 at 20:46 UTC ( #998544=note: print w/replies, xml ) Need Help??


in reply to beginner scripting question re: if elsif else

The input includes the newline character at the end of the string. You either need to remove the newline or your 'eq' needs to account for it.
  • Comment on Re: beginner scripting question re: if elsif else

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998544]
help
Chatterbox?
Jar. Jar!...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-02-22 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (332 votes). Check out past polls.