Paul Kraus wrote:
> Ok tested that theory and it is exactly what it is doing. That is not
> a good thing. How can I force it to read the directory based on file
> date instead of the way windows last sorted it. That does not seem
> right to me that it would function like this.
>
> foreach ( readdir (DH) ) {
Mildly tested (and ugly) but how 'bout replacing this with something to
the effect of:
foreach (sort { (stat("//sco1/pm6/reports/$b"))[9] <=>
(stat("//sco1/pm6/reports/$a"))[9] } readdir (DH)) {
:
}
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]