in reply to Re: Opening file and checking for data
in thread Opening file and checking for data
then do the same thing for the *other* way, and see which one takes the least amount of time.use Time::HiRes qw(gettimeofday); $t0 = gettimeofday; ### your code here ### $t1 = gettimeofday; $elapsed = $t1 - $t0; # elapsed is a floating point value, representing the # number of seconds between $t0 and $t1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Opening file and checking for data
by tomhukins (Curate) on Jul 03, 2003 at 13:57 UTC |