CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #4
    Join Date
    May 2004
    Location
    Pell City, Alabama
    Posts
    126

    Re: Perl: Filetime of most recent file ?

    thanks guys thats very helpful

    do you know if the file modified time on the containing directory will also be the same as the most recently modified file's modified time ?

    Just wondering if it would be simpiler to get the modified time from the directory instead ?

    so in other words would something like this work ?

    Code:
    open(DIR, $directory);
    $modified = localtime((stat DIR)[9]);
    just guessing from looking at your code
    Last edited by Mutilated1; October 27th, 2006 at 03:05 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured