Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2016-06-29 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (366 votes). Check out past polls.