Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2015-07-29 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (265 votes), past polls