Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
opendir (REPORT, "reports/") || &ErrorMessage; foreach $filename (readdir REPORT) { next if $filename =~ /^\.\.?$/; $modify = (stat($filename))[10]; push(@modifyreport, $modify); } closedir (REPORT);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Why does stat work sporadically?
by japhy (Canon) on Feb 27, 2001 at 05:02 UTC | |
|
Re: Why does stat work sporadically?
by mr.nick (Chaplain) on Feb 27, 2001 at 06:18 UTC | |
|
Re: Why does stat work sporadically?
by Anonymous Monk on Feb 27, 2001 at 05:18 UTC | |
by eg (Friar) on Feb 27, 2001 at 06:20 UTC | |
|
Re: Why does stat work sporadically?
by dws (Chancellor) on Feb 27, 2001 at 05:02 UTC | |
|
Re: Why does stat work sporadically?
by dws (Chancellor) on Feb 27, 2001 at 05:08 UTC |