Perl 6 Perl 6 today #36

The cross (X) meta-operator

The X prefix can also be used on any infix operator to make it "cross":

> my @files = <data index>
> my @ext   = <001 002 003>
>.say for @files X~ ('.' X~ @ext);
data.001
data.002
data.003
index.001
index.002
index.003
Copyright © 2009
http://www.pmichaud.com/2009/pres/