Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 avoiding work at the Monastery: (10)
As of 2016-06-28 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (354 votes). Check out past polls.