I tested your perl code. It handles the elimination
of rows with duplicate server names in the same file.
It handles the replacement of missing values with '0',
as long as non-missing values for a server are found
in one of the later files.
In other words, if the Server does not have a row in
the 1st and 2nd file, but does have a row in the 3rd
file, the code will produce
Server,0,0,12.45
But if the Server has a row in the 1st input file, but
not in the 2nd and 3rd, the code will produce
Server,2.85,,,
or
If the server has a row in the 1st and 2nd input file,
but not in the 3rd, the code will produce
Server,2.85,3.56,,
Do you have any ideas why the missing values are not
being replaced with '0' when they occur at the end of
hash?
In reply to Re^2: Eliminating Duplicate Lines From A CSV File
by country1
in thread Eliminating Duplicate Lines From A CSV File
by country1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |