ðŸ“˜ Cross-product operator X in Perl 6 andrewshitov Chapter 2. Operators, Perl 6 at a Glance October 31, 2018October 31, 2018 0 Minutes X is the cross product operator, which converts the two given lists to a third one containing all the possible combinations of the elements from the original lists. @c = @a X @b; This is the same as the following sequence: @c = ((@a[0], @b[0]), (@a[0], @b[1]), (@a[0], @b[2]), ... (@a[N], @b[0]), (@a[N], @b[1]), ... (@a[N], @b[M])); The length of the two operands can be different (they are N and M in the example above). Share this:TwitterFacebookGoogleLike this:Like Loading... Related Published by andrewshitov View all posts by andrewshitov Published October 31, 2018October 31, 2018