you can just saymy @combined = (@urls X @ids).map: {$^a ~ $^b};
That is, just put X in front of the ordinary operator to make it a cross operator.my @combined = @urls X~ @ids;
Update: changed old X~X form to new X~ form.
In reply to Re^3: Joining Arrays? (perl6)
by TimToady
in thread Joining Arrays?
by Jaganath
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |