Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 lurking in the Monastery: (5)
As of 2014-10-25 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (139 votes), past polls