http://www.perlmonks.org?node_id=726691


in reply to Re: Repeating an input prompt
in thread Repeating an input prompt

Thanks for the critique. I don't quite understand this line, though:
until $selection >= 1 && $selection <= @$drinks_ref;
Wouldn't that always be true if you input 1 - 4 ? Can you elaborate on that a little? thanks.