Doesn't do what I thought it should do, I expected it to count down, instead it returns an empty list . The perlop manpage describes this behaviour, but does anybody know why this behaviour was chozen?for my $i ( 10 .. 0 ) { # do something }
In reply to the '..' operator and decreasing values by eXile
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |