devoted_to_Perl has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I'm trying to setup the reading and parsing in a data structure that is made of two parts linked together.
The first part is made of a matrix with 5 columns and N rows, and each column has headers that define the content of the column/array.
The second part employs J matrix of 2 columns and M rows each. The elements of one array in the first matrix are a pointer that links a row in the first matrix to the contents in the second matrix. For example, a header called "position" in the first matrix defines M positions in a beam section, and each position is linked to another matrix that has 2 columns/arrays.
Since I have J matrix in the second part, I need to get the right one with the corresponding header.
My problem is how to read the content of the matrix, loop over the first part and then parse the corresponding "position" in the right (second part) matrix. Also, I need to make use of the module Workflow::csv_File exclusively in order to read the contents.
Many thanks in advance for your patience and time!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: parsing with Workflow::csv_File
by Xiong (Hermit) on Nov 28, 2011 at 13:17 UTC | |
|
Re: parsing with Workflow::csv_File
by Corion (Patriarch) on Nov 28, 2011 at 12:21 UTC | |
by devoted_to_Perl (Initiate) on Nov 28, 2011 at 12:48 UTC |