in reply to Re^6: Combining 3 files
in thread Combining 3 files

however I'm not sure where I need to insert the equivalent of the

Next line, right after you initialize $meat

push @{ $data[ $fileCount ]->{ shift @col } }, \@col;

Wait a minute, why did you copy that?

Replies are listed 'Best First'.
Re^8: Combining 3 files
by garyboyd (Acolyte) on Jun 27, 2011 at 15:11 UTC

    I thought that it was a simplified version of:

    my @beef = @{ $dataset->{ $col[0] } };
      Whatever gave you that impression?

        I thought that this was building @data ???

        for my $dataset (@data) { my @out = push @{ $data[ $fileCount ]->{ shift @col } }, \@col; }