<p>Fellow Mongers,</p>
<p>When I push values to an array, am I guranteed that they will be
returned in the same order when I use &quot;foreach&quot;?&nbsp;&nbsp;Here
is my test code:</p>
<p>#!perl<br/>
@CurrentList=();<br/>
printf (&quot;Pushing: &quot;);<br/>
foreach (&quot;A&quot; .. &quot;Z&quot;) {<br/>
&nbsp; push @CurrentList, $_;<br/>
&nbsp; printf (&quot;$_ &quot;);<br/>
}<br/>
printf (&quot;\nReview:&nbsp; &quot;);<br/>
foreach (@CurrentList) {<br/>
&nbsp; printf (&quot;$_ &quot;);<br/>
}</p>
<p>The output of the code looks correct:</p>
<p>Pushing: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z <br/>
Review:&nbsp; A B C D E F G H I J K L M N O P Q R S T U V W X Y Z </p>
<p>If not, is there an easy way to create a FIFO (First In, First Out)
array?&nbsp; I don't want to resort to creating a key/value pair (i.e.
key/value: 1:A, 2:B, 3:C,...,26:Z) and have to sort on the key.</p>
<p>Dan<br/>
<br/>
- - - - <br/>
&quot;Wait for that wisest of all counselors, time.&quot; -- Pericles <br/>
&quot;I do not fear computers, I fear the lack of them.&quot; -- Isaac
Asimov <br/>
GPG fingerprint:6FFD DB94 7B96 0FD8 EADF 2EE0 B2B0 CC47 4FDE 9B68</p>