Hello Christoforo,
Thanks for your time and effort to reply to my question. Well unfortunately this is not exactly what I want to do. My current solution is exactly what I want.
Sample of output using 2 dimension arrays:
$VAR1 = [ [ 'Line_1_3', 'Line_2_3' ], [ 'Line_3_3' ], [ 'Line_4_3', 'Line_5_3', 'Line_6_3', 'Line_7_3' ] ];
Sample of array with hashes:
$VAR1 = { 'sample.txt' => [ 'Line_1_3', 'Line_2_3' ], 'sample_2.txt' => [ 'Line_3_3' ], 'sample_3.txt' => [ 'Line_4_3', 'Line_5_3', 'Line_6_3', 'Line_7_3' ] };
The reason is that possibly the files are not the same in line (size) etc. etc. I am trying to retrieve the arrays one by one so I can play around with it.
I have found a way to print all data and also to print individual 1 by one the elements but not the arrays. I have an idea in my mind on how to solve it. I did not had the time to work on it, that is the reason that I have not updated my solution.
But thanks again for your time and effort and sorry if my sketch is not so clear.
In reply to Re^2: How to concatenate a generic array of arrays and an array of hashes
by thanos1983
in thread How to concatenate a generic array of arrays and an array of hashes
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |