oaklander has asked for the wisdom of the Perl Monks concerning the following question:
use File::Copy; $dir = "/perl/bin"; sub month { foreach (glob "$_[0]/*") { -d && recursedirs($_) unless -l; if (-f ) { if ((-M) > 01/01/02 && (-M) < 01/31/02 ) { my $file = $_; print "$_\n"; } } } } month("$dir")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Listing files
by BeernuT (Pilgrim) on Feb 12, 2002 at 16:31 UTC | |
by oaklander (Acolyte) on Feb 12, 2002 at 19:30 UTC | |
|
Getting File Modification Time - Re: Listing files
by metadoktor (Hermit) on Feb 12, 2002 at 17:22 UTC | |
|
Re: Listing files
by BeernuT (Pilgrim) on Feb 12, 2002 at 21:05 UTC | |
by oaklander (Acolyte) on Feb 13, 2002 at 12:07 UTC | |
by snapdragon (Monk) on Feb 13, 2002 at 12:36 UTC | |
by oaklander (Acolyte) on Feb 13, 2002 at 10:48 UTC |