in reply to Re^2: Modification of a read-only value attempted?!?
in thread Modification of a read-only value attempted?!?
While 0 and 1 evaluate to a constant, 0..1 evaluates to two scalars which aren't constants.
That said, for (0..1) doesn't actually use the range operator as an optimization. But the result is the same.
|
|---|