Your solution assumes that the 3 input files have the server names in the same order in each of the 3 files
Umm, no it doesn't. The cpu value get associated with the server name, regardless on which line they appear. Output order is also regardless of the order the servers are in in the input files. Try it out and you'll see (this is a hash, not an array!).
In reply to Re^3: Combining Records From Multiple Files based on Common Key Values
by tirwhan
in thread Combining Records From Multiple Files based on Common Key Values
by country1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |