[Perlfect-search] Recording time for a search in log.txt
Daniel Naber firstname.lastname@example.org
Wed, 30 Jan 2002 18:04:43 +0100
On Wednesday 30 January 2002 16:41, Norm Szcyrek wrote:
> According to the conf.pl file, there is a way to log details about each
> search that is performed [details listed below]. I've set it up on my
> webserver, but for some reason the last field which is supposed to
> record the time to perform a search in seconds, is always filled with a
> "-" value.
You have to comment in these lines in search.pl:
use Time::HiRes qw ();
my $start_time = [Time::HiRes::gettimeofday];
And of course you need that module then.