Re: Visitors/visits vs Requests (hits)

David Welton (davidw@efn.org)
Mon, 21 Jul 1997 15:12:45 -0700 (PDT)


> > Methinks an early step perhaps needs to be a little Perl library for 
> > doing maths on times in a logfile (including timezone stuff, and concepts 
> > like 'yesterday', 'last Monday', 'last month','a day ago'). I'm working 
> > on cleaning up mine.

The time modules from CPAN are pretty good - I think they can do this.  I
am thinking of using the ParseDate module for my changes, as it would be
very convenient to use the unix format time to 'expire' visits.  This is a
bit cleaner than using minutes and seconds with conditionals for $timeout
minutes after midnight.  Maybe slower though...

David Welton   
davidw@efn.org  davidw@freenet.hut.fi  http://www.efn.org/~davidw
Se quest'email e` in Italiano, mi dispiace per gli errori:-) FORZA PANTANI!
			 --Debian GNU/Linux--