On Tue, 27 Jan 2004 [EMAIL PROTECTED] wrote:

> I'm trying to determine how long an system operation takes.  Anyone know 
> of a simple way to do this ?
> 
> I wanted to establish the start time.  Then run the operation.  Then mark 
> the finish time.   Then substract the start time from the finish time to 
> get an elapsed time.  Here's the simplistic approach I tried.  I'm sure I 
> need a time that is measured in seconds or something like that, but I'm 
> not sure how to do this.


You might want to look $^T variable.

This variable is the time (secs from 1970) that a perl program is started.



Owen


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to