note BrowserUk <p>You need to re-read the docs. This line of code: <code> my $t0 = [gettimeofday]; </code> <p>Is putting two values (seconds and microseconds) into an anonymous array and assigning a reference to that array to $t0. You then pass that reference to localtime() and get strange results. <div class="pmsig"><div class="pmsig-171588"> <hr /> <font size=1 > <div>Examine what is said, not who speaks.</div> "Efficiency is intelligent laziness." -David Dunham<br /> "Think for yourself!" - [Abigail-II|Abigail] <br /> "Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - [tachyon]<br /> </font> </div></div> 390711 390711