Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$newfile = "/perl/bin/newr"; opendir(DIR,$newfile); @files = readdir(DIR); close(DIR); for(@files) { print "$_\n"; $_ = $lastaccess = localtime ( ( stat($_)) [8] ); #print "$_\n"; $_ = localtime ( (stat($_))[9] ); print "$_\n"; } print "./"; print "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: stat times
by Ferret (Scribe) on Aug 12, 2002 at 18:07 UTC | |
by GhodMode (Pilgrim) on Aug 12, 2002 at 18:45 UTC | |
|
Re: stat times
by Shendal (Hermit) on Aug 12, 2002 at 18:04 UTC | |
|
Re: stat times
by DamnDirtyApe (Curate) on Aug 12, 2002 at 18:10 UTC | |
|
Re: stat times
by GhodMode (Pilgrim) on Aug 12, 2002 at 18:41 UTC | |
by Anonymous Monk on Aug 12, 2002 at 18:46 UTC | |
|
Re: stat times
by snafu (Chaplain) on Aug 12, 2002 at 18:45 UTC |