Re: Read dir / sort

2003-08-23 Thread Rob Dixon
Bob Showalter wrote: > Paul Kraus wrote: > > WTF now its working with no changes to the program.. > > This is very frustrating. > > Is perl some how looking at the way the directory was last > > sorted in my > > Ms window even though its pulling it from a UNIX server? > > Perl isn't doing anyt

Re: Read dir / sort

2003-08-22 Thread John W. Krahn
Paul Kraus wrote: > > I have a program that would read a directory and then do some renaming. > Up until recently it always seem to read by oldest file first to newest. > Which is great because my renaming involves incrementing a counter and > placing that count in each file. So if the order was c

RE: Read dir / sort

2003-08-22 Thread Bob Showalter
Paul Kraus wrote: > WTF now its working with no changes to the program.. > This is very frustrating. > Is perl some how looking at the way the directory was last > sorted in my > Ms window even though its pulling it from a UNIX server? Perl isn't doing anything but calling the OS's underlying

RE: Read dir / sort

2003-08-22 Thread Ed Christian
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 ( readdi

RE: Read dir / sort

2003-08-22 Thread Paul Kraus
[mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 2:36 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Read dir / sort WTF now its working with no changes to the program.. This is very frustrating. Is perl some how looking at the way the directory was last sorted in my Ms window

RE: Read dir / sort

2003-08-22 Thread Paul Kraus
WTF now its working with no changes to the program.. This is very frustrating. Is perl some how looking at the way the directory was last sorted in my Ms window even though its pulling it from a UNIX server? -Original Message- From: Paul Kraus [mailto:[EMAIL PROTECTED] Sent: Friday, A