grep { $_ eq $name } @$name and return $name;