in reply to **HomeWork** Trying to search an array and match it to a user input

Hint: == is for numbers; eq is for strings. See perlop and read about comparison operators.

The cake is a lie.
The cake is a lie.
The cake is a lie.