Michael Goldshteyn schreef: > By the way, the output of perl -e "print `dir`;" has: > > - All files/dirs with spaces have the spaces escaped with a backslash > (e.g. a file such as "Hello there.txt" looks like "Hello\ there.txt" > - The output is similar to dir /W, except that the header > (volume/directory info) and footer (bytes used/free) are missing. > - The files seemed to be ordered in, get this, ASCII order (i.e. files > starting with upper case chars before files starting with lower case > chars)
I smell glob. See perldoc File::Glob, look for 'sorted'. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>