Will readdir() always return a lexically sorted list?I didn't know that it ever did! At least in Unix, it's the unsorted "directory" order, which is more or less random after files have been deleted and added to a given directory.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: find the last lexical entry in a dir without using @ls=readdir
by merlyn
in thread find the last lexical entry in a dir without using @ls=readdir
by manywele
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |