kris1511 has asked for the wisdom of the Perl Monks concerning the following question:
| Application | Memory (GB) | Language |
|---|---|---|
| App1 | 4 | Perl |
| App2 | 8 | Java |
| App3 | 8 | Java |
| App4 | 4 | PHP |
| App5 | 8 | C# |
| Application | CPU | Cores |
|---|---|---|
| App1 | 1.5 | 2 |
| App2 | 2.5 | 4 |
| App3 | 2.8 | 4 |
| App4 | 2.8 | 2 |
| App5 | 2.8 | 2 |
.... So on. Is this the right way to read file into nested hash ? Not able to wrap my head around the problemmy %apps; $apps{"App1"}{Memory} = 4; $apps{"App1"}{Language} = 'Perl'; $apps{"App1"}{CPU} = '1.4'; $apps{"App1"}{Cores} = '2';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Multiple File handling and merging records from 2 files
by stevieb (Canon) on Aug 10, 2017 at 18:26 UTC | |
|
Re: Multiple File handling and merging records from 2 files
by johngg (Canon) on Aug 10, 2017 at 18:34 UTC | |
|
Re: Multiple File handling and merging records from 2 files
by Laurent_R (Canon) on Aug 10, 2017 at 22:00 UTC | |
|
Re: Multiple File handling and merging records from 2 files
by Marshall (Canon) on Aug 11, 2017 at 03:06 UTC | |
|
Re: Multiple File handling and merging records from 2 files
by kcott (Archbishop) on Aug 11, 2017 at 06:18 UTC | |
|
Re: Multiple File handling and merging records from 2 files
by Not_a_Number (Prior) on Aug 10, 2017 at 18:23 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |