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
In Section
Seekers of Perl Wisdom