note
kha0z
I expected:<br>
1<br>
2<br>
3<br>
4<br>
5<br>
<STRONG>Update:</STRONG>I understand what is going on now. Thanks for the clarification kundra.
<p>
<STRONG>Another Update:</STRONG>I just want to make sure that I understand this. In the "foreach" loop <code>$each</code> is assigned a reference to a scalar value in <code>@list</code>. So when <code>$each</code> is modified in the loop what is actually being modified is <code>$list[$i]</code> which happens to be same value as <code>$newlist[$i]</code>. Right?
<p>
Good Hunting, <br>
<a href="http://www.kha0z.net">kha0z</a>
72605
72605