Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: Folder modified time

by Crackers2 (Parson)
on Aug 28, 2009 at 14:30 UTC ( #791925=note: print w/replies, xml ) Need Help??

in reply to Re: Folder modified time
in thread Folder modified time

That test doesn't seem to match his description. That would be more like:

> md dir1 > md dir1\dir2 > copy nul dir1\dir2\file

And he's expecting the mtime of dir1 to be updated after the copy.

Replies are listed 'Best First'.
Re^3: Folder modified time
by ikegami (Pope) on Aug 28, 2009 at 16:46 UTC

    The system (NTFS + WinXP) doesn't appear to work that way.

    As you can see, the system says the parent directory (".") was last modified earlier than when the child directory ("dir2") was last modified:

    >dir dir1 Volume in drive C is C Volume Serial Number is 28AB-0E8B Directory of C:\Documents and Settings\ikegami\dir1 2009/08/28 12:43 PM <DIR> . 2009/08/28 12:43 PM <DIR> .. 2009/08/28 12:44 PM <DIR> dir2

    Perl reports the same.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://791925]
[1nickt]: choroba Updated the PR, using Config instead of exposing the hackery. Using cpanfile-dump does not work to test, as shown in the earlier PR comment, even when using a binary built for a particular Perlbrew perl, the output seems to be
[1nickt]: ... from the system perl binary. Using cpanm --installdeps . does use the expected perl and tus the check acts correctly.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (15)
As of 2017-10-18 16:03 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (249 votes). Check out past polls.