Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by beable (Friar)
on Jul 15, 2004 at 10:35 UTC ( [id://374597]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://374597]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (None)
    As of 2024-04-25 01:31 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found