note
muba
<p>You <i>are</i> correct so far.</p>
<p><c>@allrefs</c> is an array. To get an element out of an array, you use a syntax like <c>$array[ INDEX ]</c>. To get multiple elements out of an array, you'd use <c>@array[ INDEX1, INDEX2, ..., INDEXN ]</c>. That's what's going on here: we sort the values of the <c>%uni_refs</c> hash, and then use those values as the indexes of elements to extract from <c>@allrefs</c> and store them in <c>@refs</c>.</p>
1095377
1095377