Don't ask to ask, just ask | |
PerlMonks |
Re^2: beginner scripting question re: if elsif elseby live4tech (Sexton) |
on Oct 12, 2012 at 10:49 UTC ( [id://998657]=note: print w/replies, xml ) | Need Help?? |
Just a note, jhumphreys did chomp the input in the original program:
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.
In Section
Seekers of Perl Wisdom
|
|