@a = (1..10); $_++, $_%=10 for @a; [download]
In reply to Re: A better (ie.more concise) way to write this? by wind in thread A better (ie.more concise) way to write this? by BrowserUk