Đã hoàn thành

429625 Convert a TSV into a perl data-structure

This is a really simple project where you will read in a tab separated file and dynamically generate a perl data-structure. It should really be a 30 minute job, but I just haven't worked with this data-structure before. The data-structure is as follows.

my (at)set = (

[0,0] => [0],

[0,1] => [1],

[1,0] => [1],

[1,1] => [0],

);

The only gotcha is that it needs to support a variable number of columns in the array. For example, if I have 3 columns, then it will look like

my (at)set = (

[0,0,1] => [0],

[0,1,1] => [1],

[1,0,1] => [1],

[1,1,0] => [0],

);

I have attached an [url removed, login to view] with a corresponding [url removed, login to view] and this might be how the code would look if we were fixed to the number of Feature Columns the text file had. However, we want to support files that have as many columns as possible.

Kĩ năng: Bất kì công việc gì, Nhập liệu, Perl

Xem nhiều hơn: perl convert tsv, simple data structure, set in data structure, set data structure, how to look for a data entry job, example of array data structure, data structure with c, data structure that, data structure set, data structure in array, data structure in, data structure example, data structure code, data structure array, data structure and c, c with data structure, c data structure, c and data structure, array in data structure, array data structure, a data structure, Structure, convert txt files, perl generate code, convert columns text files

Về Bên Thuê:
( 19 nhận xét ) Bellevue, United States

ID dự án: #2175496

Được trao cho:

stevenp1974

Please check PMB

$25 USD trong 0 ngày
(23 Đánh Giá)
5.4