my $select = param('select'); my $found = List::Util::first { $_ eq $select } @display_files;