my @wants; ... push @wants, grep { is_approximately_an_integer( @$_ ) } [ poly_roots( ...