in reply to Re: What's the difference between stat and sort?
in thread What's the difference between stat and sort?

"At least on my system"? Oh now that's not good enough! perldoc -f glob says: "Beginning with v5.6.0, this operator is implemented using the standard "File::Glob" extension. See File::Glob for details."

perldoc File::Glob says: ""GLOB_NOSORT" By default, the pathnames are sorted in ascending ASCII order; this flag prevents that sorting (speeding up bsd_glob())."

So there we go, a definitive answer for Perls greater than 5.6.0. As for previous Perls, upgrade already!

  • Comment on Re^2: What's the difference between stat and sort?

Replies are listed 'Best First'.
Re^3: What's the difference between stat and sort?
by BrowserUk (Patriarch) on Jul 15, 2004 at 10:55 UTC

    I didn't need to look it up. I already knew it sorted on my system :)

    Upgrade?


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    "Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon