k the first element of the returned array,
which happens
to be the "user time consumed".
Regards,
David
- Original Message -
From: "Octavian Rasnita" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 13, 2002 11:27 AM
Subject: Counting the
Hi all,
I found the easiest solution (until now) for calculating how much time a
script runs.
Thank you for other solutions, but they are too complicated.
Here is the code you should use for calculating the time a script runs:
my $start = (times)[0];
#Here goes the script.
my $end = (times)[