my ($in_fla) = grep/$input/i, @known;
That will not work correctly, as it will match any part of the known strings. For example, it would match "fo", "ar", "z", etc.
In reply to Re^2: Checking input against known
by McDarren
in thread Checking input against known
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |