Edit: I fixed it by changing that line to:
validate => sub { my $chosen_curr = shift; return exists $curr->{$cho +sen_curr}; },
And by removing lc from return lc $in;
In reply to Re^2: a hash and 2 loops--not working
by frozenwithjoy
in thread a hash and 2 loops--not working
by jhumphreys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |