note
MidLifeXis
<P>
You beat me to your solution.
</P>
<p>The <em>why</em> is context. Specifically, the original is in scalar context, which will return <strike>the size of the set of matched values (1)</strike><ins>true or false</ins>. So your two values are both 1, and now (iirc) being a stable sort, returns the dates in the original order. The update takes the return value in list context, causing the results of the matches to be assigned to the provided variables.</p>
<p>Update: test my understanding of the return value from a pattern match, and correct the statement.</p>
<div class="pmsig"><div class="pmsig-272364">
<p>--MidLifeXis</p>
</div></div>
1130647
1130647