This doesn\'t work in perl : for(10...0) It essentially doesn\'t loop even once, because it checks that 10>0 initially.
for(10...0)
10>0
Any alternate s
for (reverse 0 .. 10) { say $_; }
Use the reverse function.
Unfortunately, this forces evaluation of the range to a list, so this uses more memory than the loop without reverse.
reverse