in reply to check if a number is in a list
use Perl6::Junction qw/any/; if (any(@list_of_values) == $value) { ... } [download]