Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

As a fairly newbie perl coder looking for enlightenment, how would you move a directory tree between drives safely? Probably a simple question, but I cannot find the answer anywhere

Replies are listed 'Best First'.
Re: Moving Directory Trees in Win32
by Nitrox (Chaplain) on Oct 29, 2002 at 14:41 UTC
    Take a look at Win32::FileOp.

    As a side note I thought I remember seeing a mv option in File::Copy.

    -Nitrox

      You are 100% correct Nitrox, there is indeed a 'mv' option in File::Copy, it's called 'move':
      use File::Copy; move ("somefile", "somewhere") || die "Couldn't move somefile to somew +here - $!\n";
      -- vek --