Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: A better (ie.more concise) way to write this?

by wind (Priest)
on Dec 14, 2013 at 00:56 UTC ( #1067092=note: print w/ replies, xml ) Need Help??


in reply to A better (ie.more concise) way to write this?

@a = (1..10); $_++, $_%=10 for @a;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067092]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2016-08-24 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (347 votes). Check out past polls.