Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: beginner scripting question re: if elsif else

by live4tech (Sexton)
on Oct 12, 2012 at 10:49 UTC ( #998657=note: print w/ replies, xml ) Need Help??


in reply to Re: beginner scripting question re: if elsif else
in thread beginner scripting question re: if elsif else

Just a note, jhumphreys did chomp the input in the original program:

chomp($weather, $temperature);

Not the syntax I would use (would be more idiomatic and chomp at input as some of the posters did), but nonetheless, the newlines should be gone.


Comment on Re^2: beginner scripting question re: if elsif else
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998657]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-12-26 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls