Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 avoiding work at the Monastery: (6)
As of 2015-07-04 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls