in reply to Split and join

I'm sure it's not impossible for us to reverse engineer what your input data looks like, but it is too much to ask. Would you mind saving us the time by showing us an example?


Dave

Replies are listed 'Best First'.
Re^2: Split and join
by hellohello1 (Sexton) on Mar 07, 2014 at 03:21 UTC
    My input data is like this:
    ID Record Time A B C D E F G A776 762.81 0.76 2 2 2 2 2 2 2 A872 762.91 1.23 4 4 4 4 4 4 4
    What my code does is to take A column and divide row against row, same for the rest of B to G. And the list continue down...(I have thousands of IDs). This process refer to this code as stated in my first post:
    for my $arr_ref1 (@full_data) { for my $arr_ref2(@full_data) { for my $index (3..$#headers) { my $ratio1 = $$arr_ref2[$index]/$$arr_ref1[$index]; # + this is the part where 1 and 2 is outputted.
    I hope it helps in the understanding of my question?