in reply to Counter that won't work with the IP Log
Ignoring the other issues (use strict;, -w, formatting, etc.) in your code, I think you're a little confused on how -M works: it's meant for use with files, not arbitrary strings.
Instead, you probably want something like...
if ( int($times/86_400) > 1 ) { # ignores daylight savingsUpdate: See mitd's response below. ( That'll teach me to post happens when I haven't had enough sleep. :)
--k.
|
|---|