- or download this
<a b> X 1,2 X <x y>
#produces
...
('b', 1, 'y'),
('b', 2, 'x'),
('b', 2, 'y')
- or download this
pp X {"a".."d"};
pp X {"a".."b"} X {1..2} X {'x','y'};
...
["b", 1, "y"]
["b", 2, "x"]
["b", 2, "y"]
- or download this
use strict;
use warnings;
...
while ( my ($aref)= $iter->() ) {
pp $aref;
}
- or download this
my @a = 1, 2;
my @b = 3, 4;
my @c = @a X+ @b; # 1+3, 1+4, 2+3, 2+4
- or download this
my @a = 1, 2;
my @b = 3, 4;
my @c = X{@a} X{@b} '+'