in reply to Re: Adding missing values into a hash
in thread Adding missing values into a hash
Thank you very much for your answer :)
Your answer seems quite interesting but I don't know why but I obtain too many "NA".
With de first part of the script I obtain for example
AA=> NA, NA,1,2,5,NA,NA,NA,NA,NA
instead of
AA=> 1,2,5
Perhaps is related with
my (undef,%hash) = split /[\t;=]/,$line;because you are spliting 3 times, I don't know.
The final csv is
AA => NA,NA,NA
AB => NA,NA,NA
AC => NA,NA,NA
Perhaps is because the problem with de "NA".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Adding missing values into a hash
by poj (Abbot) on Jun 19, 2014 at 15:00 UTC | |
by Biopolete (Initiate) on Jun 20, 2014 at 08:16 UTC | |
by poj (Abbot) on Jun 20, 2014 at 08:48 UTC |