in reply to Re^2: Do the File::Stat values Update While a File is Being Written?
in thread Do the File::Stat values Update While a File is Being Written?

Basically that means that it won't work any better than stat(), and it's probably slower.

  • Comment on Re^3: Do the File::Stat values Update While a File is Being Written?

Replies are listed 'Best First'.
Re^4: Do the File::Stat values Update While a File is Being Written?
by CountZero (Bishop) on Jul 14, 2008 at 21:15 UTC
    For sure it is slower, it is the price you pay for not having to remember what each slot in the returned list of stat means ...

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Re^4: Do the File::Stat values Update While a File is Being Written?
by jethro (Monsignor) on Jul 15, 2008 at 11:31 UTC
    Yes, but TIMTOWTDI ;-)