{ 'module2(' => { 'source' => [ '.akjsdk', '.qahwgd' ], 'dest' => [ 'ajhsx', 'uiahs' ] }, 'module1(' => { 'source' => [ '.akjsdk1', '.sjkdhs11', '.qahwgd1' ], 'dest' => [ 'ajhsx', 'ajhdj', 'uiahs' ] } };
I need to compare each and every dest of one module with the other every other dest of other modules and print the corresponding source port, if dest[0] of module 1 is ssame as dest1 of module 2 then i shouldprint the message as source[0] of module 1 is connected to source1 of module 2, and there can be n modules so the comparison has to be dynamic pls help
In reply to how to loop through the hash of hash arrays by prk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |