P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Thanks tomasz, and a belated welcome to the Monastery! The sequence operator looks really powerful: my attention was particularly caught by this example from the documentation: This allows you to writesay 1, 1, * + * ...^ *>= 100; # OUTPUT: «(1 1 2 3 5 8 13 21 34 55 89)»to generate all Fibonacci numbers up to but excluding 100. Of course, now that I have an operator that works the way I expected the range operator to work, I’m wondering: why would I ever need the range operator? Cheers,
In reply to Re^2: [Raku] Ranges in array slices
by Athanasius
|
|