Sorry forgot to show what my output looks like at the time of the post, for whomever it was who had asked (output below). The data doesn't look too bad. I mean it does match the data with a correct "key" for each field, or "identifier" if you want to call it that. It prints the array first with just a plain print statement, then it does a Dump of the array. This is not at all what the output should look like in the end, but for now it will do just fine. Well anyway here it is...


=========================== Array ============================ /prod-data/J 00151120273 X jmorg 3584038 247 ts/49 13:38:12 Jul 20 Loc +ked /prod-data/J 00151120273 X jmorg 2015244 134 s/109 13:48:32 Jul 20 Wai +ting /prod-data/J 00151120273 X gdavi 1359996 62 ts/20 13:54:22 Jul 20 Wait +ing /prod-data/J 001!L!311895 X jmorg 2015244 134 s/109 13:48:32 Jul 20 Lo +cked /prod-data/J 001!L!311895 X jmorg 5713932 191 ts/46 14:01:42 Jul 20 Wa +iting /prod-datahi 001!10274882 X rfuse 3354796 61 ts/43 13:39:02 Jul 20 Loc +ked /prod-datahi 001!10274882 X jmorg 3584038 247 ts/49 13:39:22 Jul 20 Wa +iting ============================================================== --- - M: X day: 20 file: /prod-data/J locker: Locked month: Jul owner: jmorg pid: 3584038 recordID: 00151120273 time: 13:38:12 tty: ts/49 usedID: 247 - M: X day: 20 file: /prod-data/J locker: Waiting month: Jul owner: jmorg pid: 2015244 recordID: 00151120273 time: 13:48:32 tty: s/109 usedID: 134 - M: X day: 20 file: /prod-data/J locker: Waiting month: Jul owner: gdavi pid: 1359996 recordID: 00151120273 time: 13:54:22 tty: ts/20 usedID: 62 - M: X day: 20 file: /prod-data/J locker: Locked month: Jul owner: jmorg pid: 2015244 recordID: 001!L!311895 time: 13:48:32 tty: s/109 usedID: 134 - M: X day: 20 file: /prod-data/J locker: Waiting month: Jul owner: jmorg pid: 5713932 recordID: 001!L!311895 time: 14:01:42 tty: ts/46 usedID: 191 - M: X day: 20 file: /prod-datahi locker: Locked month: Jul owner: rfuse pid: 3354796 recordID: 001!10274882 time: 13:39:02 tty: ts/43 usedID: 61 - M: X day: 20 file: /prod-datahi locker: Waiting month: Jul owner: jmorg pid: 3584038 recordID: 001!10274882 time: 13:39:22 tty: ts/49 usedID: 247


Thanks,
Matt


In reply to Re: How to reference to array keys? by mmartin
in thread How to reference to array keys? by mmartin

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.