note
TimToady
Such cross-like operations are common enough that there is also a cross meta-operator in Perl 6 to trick an ordinary binary operator into doing it. So instead of saying:
<code>
my @combined = (@urls X @ids).map: {$^a ~ $^b};
</code>
you can just say
<code>
my @combined = @urls X~ @ids;
</code>
That is, just put X in front of the ordinary operator to make it a cross operator.
<p>
<b>Update: changed old X~X form to new X~ form.</b>
731808
731957