But I would be interested to know the canonical/intended way to use those constants, before messing around with internals!
There is, if you're willing to use v6;:
$ perl6 -e 'for 1..Inf { .say; last if $_ == 5 }' 1 2 3 4 5
In reply to Re: Infinity and Inf?
by moritz
in thread Infinity and Inf?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |