Waddayaknow! And I've even found a use for it:
print map ${ \( ++$i ) } %= 10, 1..30;; 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
Now all we've gotta do is document it, and we've a valid reason for it working that way: measuring golf games. Perfect :)
In reply to Re^5: Pre vs Post Incrementing variables
by BrowserUk
in thread Pre vs Post Incrementing variables
by SavannahLion
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |