Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 contemplating the Monastery: (3)
As of 2016-07-23 23:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (221 votes). Check out past polls.