in reply to Re^2: Moving directories on Win32
in thread Moving directories on Win32

Whenever you use a OS call and check for failure it is as well to display $^E as well (or instead of) $!. In this case, you would get the following:

warn $!; Permission denied warn $^E The process cannot access the file because it is being used by another + process

Which makes identifying the problem easier, if not the solution.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."