Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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;


Comment on Re: A better (ie.more concise) way to write this?
Download Code

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 rifling through the Monastery: (11)
As of 2014-10-01 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (389 votes), past polls