for (EXPR .. EXPR)
is an iterator, but
for (CONSTANT .. CONSTANT)
is actually
my @anon; BEGIN { @anon = (CONSTANT..CONSTANT); } for (@anon)
Now, for (@anon) is treated more efficiently than generic lists, but I don't remember how so exactly.
In reply to Re^2: Thread::Queue memory issue with nested maps but not foreach loops...
by ikegami
in thread Thread::Queue memory issue with nested maps but not foreach loops...
by jmmitc06
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |