laziness, impatience, and hubris | |
PerlMonks |
Re: beginner scripting question re: if elsif elseby BillKSmith (Monsignor) |
on Oct 12, 2012 at 03:06 UTC ( [id://998591]=note: print w/replies, xml ) | Need Help?? |
You must remove the newline from each input before you test it. Use the function chomp.
Bill
In Section
Seekers of Perl Wisdom
|
|