sub repeat (&f, $n) { f() xx $n }; sub example { say rand } repeat(&example, 3);
0.435249779778396 0.647701200726486 0.279289335968417
example() xx 3;
(say rand) xx 3;
Notes on the xx operator:
xx
General notes:
Last updated 11 months ago