Hello boftx,

Well up to this point I got it, the problem is after. I am trying to print them in columns based on each array separately with spaces in between and simultaneously in case that the files have different sizes.

Ok this sounds really complicated so I will try to draw it, based on the sample files that I have posted here.

Line_1_3 Line_3_3 Line_4_3 Line_2_3 Line_5_3 Line_6_3 Line_7_3

This is the expected printed format. Well I am trying to get access to each array elements individually after reading them from the argument input, because I want to apply mathematical calculation on array[0] and array3 for example. It dose not matter if they have same number or lines but it does matter when it comes to printing on the screen or in a file.txt etc.

This is the reason that initially solve it with 2 dimension arrays and then with array and hashes. In order to get the best possible output out of them.

Apologies if my description it is really confusing so far.

Again thanks for your time and effort to assist me with my problem.

Seeking for Perl wisdom...on the process...not there...yet!

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.