in reply to find the last lexical entry in a dir without using @ls=readdir

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.

  • Comment on •Re: find the last lexical entry in a dir without using @ls=readdir