I'm not quite sure if I misunderstood the question, but I think the condition should be
Code:
if ($i % 2) { push @loop, $tmp[7] } else { push @loop, $tmp[8] }Subject | Author | Views | Date |
---|---|---|---|
Extracting data from line and the next | nxstar | 6547 | Feb 9, 2009, 1:55 AM |
Re: [nxstar] Extracting data from line and the next | Andy | 6394 | Feb 9, 2009, 2:30 AM |
Re: [Andy] Extracting data from line and the next | neves | 6376 | Feb 9, 2009, 2:55 AM |
Re: [neves] Extracting data from line and the next | Andy | 6406 | Feb 9, 2009, 2:57 AM |
Re: [Andy] Extracting data from line and the next | nxstar | 6326 | Feb 9, 2009, 9:49 AM |