perlquestion
Blanco
array
modulus
flip-flop
C-style
skip
How can I skip an element in an array whilst reading data from each 'side' of the array into two seperate arrays, eg:
<br><br>
input from an array already pre-defined:
<br>
<br>
2022, 2002<br>
6, 78<br>
1023, 1232<br>
<br>
I would like two arrays like so:
<br>
array 1: <br>2022<br>
6<br>
1023<br>
<br>
array 2: <br>2002<br>
78<br>
1232<br>
<br>
The array will be very large and may change in length.
<br>
Cheers
<p><i>Originally posted as a Categorized Question. </i></p>