in reply to Specific last modified times for html files
use Time::Local; use File::stat; my $cutoff = timelocal( 0, 0, 0, 1, 0, 2000 ); # 2000-01-01 sub process { my $mtime = stat($file)->mtime; $mtime <= $cutoff or return; local $, = " "; local $\ = "\n"; print( (split ' ', localtime($mtime))[1,2,4] ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Specific last modified times for html files
by meetraz (Hermit) on Nov 06, 2002 at 17:24 UTC |