Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: simultaneously adding and multiplying numbers in a hash/ array

by snoopy (Deacon)
on Aug 10, 2010 at 03:17 UTC ( #853957=note: print w/replies, xml ) Need Help??


in reply to Re: simultaneously adding and multiplying numbers in a hash/ array
in thread simultaneously adding and multiplying numbers in a hash/ array

>> I think it could be expressed yet more concisely in Perl 6

I like:

say [+] @change <<*>> @numberofshares
  • Comment on Re^2: simultaneously adding and multiplying numbers in a hash/ array
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://853957]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2017-04-27 04:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (500 votes). Check out past polls.