in reply to Re^3: how to list the files in dir with respect to time
in thread how to list the files in dir with respect to time

Good point about just keeping the most recent file seen so far. But you need to make sure that you update $max each time you reset the value of $file.
  • Comment on Re^4: how to list the files in dir with respect to time

Replies are listed 'Best First'.
Re^5: how to list the files in dir with respect to time
by sk (Curate) on Aug 02, 2005 at 03:46 UTC
    duh!

    Silly me :$

    I shouldn't type code directly on the browser :)