Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: subtract two columns from perl arrays

by dbuckhal (Hermit)
on Nov 12, 2013 at 04:18 UTC ( #1062118=note: print w/replies, xml ) Need Help??


in reply to Re^2: subtract two columns from perl arrays
in thread subtract two columns from perl arrays

...and within that "Perl style" loop, insert the "pseudocode" you wrote above:
"i need to subtract first row second column from array1 with first row second column from array2 and goes on for all the rows assign the difference to a variable"
Two arrays, subtraction operation, assigning the difference to a variable. I'd say you are more than halfway towards a solution. :)
  • Comment on Re^3: subtract two columns from perl arrays

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1062118]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2020-10-22 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (225 votes). Check out past polls.

    Notices?