I don't see the pattern - why do you want only one Article_text to be printed, but two dates?

Or was that an error on you side, and you want all of them, interleaved? If yes, you can either use List::MoreUtils::natatime, or you can simply iterate over the indexes and extract the items by index, in parallel.

Attention to details is important for a programmer - if you give us wrong example output, we can't give you right answers. If the rules to obtain the sample output are not obvious, you have to explain them verbally.

Seriously, try things out yourself. Read the documentation. Read other code that works with data structures, the monastery is full of it.

Read other questions, and ask yourself if you actually understood what the other monks wanted. Ask yourself if you would understand your own questions if you were somebody else, and didn't know it already.


In reply to Re^5: Alternative values from array and print by moritz
in thread Alternative values from array and print by gem555

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.