#!/usr/local/bin/perl -slw use strict; use Date::Manip; use Data::Dumper; my $now = ParseDate( scalar localtime()); print "now is $now
";
my $then = DateCalc( $now, ParseDateDelta( "7 hours 48 minutes ago" ));
my $err;
open LOGFILE, "datafile.html" || die "Can't open file";
my $re = qr/
^.*? # Skip the first part
\[([^\]]+)\]\s+ # capture everything between []
"[^"]+"\s+ # skip a quoted string and whitespace
.*? # and a couple of numbers or blanks
"( [^"]+ )" # capture the next quoted string
/x;
my %referrers;
while(