Perl 6 Perl 6 today #54

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;
continued...
Copyright © 2009
http://www.pmichaud.com/2009/pres/