I have two arrays and i need to subtract as below and assign the value to array
@array1 is below 1 3459 2 4568 3 5494 4 3489 @array2 is below 1 3459 2 4576 3 5498 4 3489
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 . example : 3459-3459 and 4568-4576, 5494-5498,3489-3489
In reply to subtract two columns from perl arrays by agreen54
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |