Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
My script:HTML: /directory/path/dir/fil.html Mon Jul 22 14:55:04 200 +2 HTML: /directory/path/dir/df.html Mon Jul 22 15:04:58 2002 HTML: /directory/path/dir/fddd.html Thu Feb 28 13:44:54 2002 HTML: /directory/path/dir/fda.htm Thu Feb 28 13:42:49 200 +2
use strict; use File::Find; my $start = '/directory/path/dir'; find(\&process, $start); sub process { return unless /\.html?$/; print "HTML: $File::Find::name\t\t"; my($mtime) = (stat($_))[9]; print localtime($mtime) . "\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Specific last modified times for html files
by joe++ (Friar) on Nov 06, 2002 at 16:23 UTC | |
by Anonymous Monk on Nov 06, 2002 at 17:33 UTC | |
by joe++ (Friar) on Nov 06, 2002 at 19:28 UTC | |
|
Re: Specific last modified times for html files
by meetraz (Hermit) on Nov 06, 2002 at 17:09 UTC | |
by Anonymous Monk on Nov 06, 2002 at 20:03 UTC | |
|
Re: Specific last modified times for html files
by jdporter (Paladin) on Nov 06, 2002 at 17:23 UTC | |
by meetraz (Hermit) on Nov 06, 2002 at 17:24 UTC |