Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: subtract two columns from perl arrays

by soonix (Monsignor)
on Nov 12, 2013 at 08:15 UTC ( #1062142=note: print w/replies, xml ) Need Help??


in reply to subtract two columns from perl arrays

If you have @arrays, your problem may simply be wrong terminology. What you are seeing as two columns, probably are indices and values.
You could try
use strict; use warnings; use Data::Dumper; # your code for creating @array1 and @array2 goes here print Dumper(\@array1); print Dumper(\@array2);
and show us the output.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1062142]
help
Chatterbox?
[james28909]: why, what is the point. if you cant see that we are smarter than cavemen then i need to just shutup lol. cavemen didnt propell themselves onto a moon. they stared at it and probably howled

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2017-12-15 15:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (433 votes). Check out past polls.

    Notices?