in reply to Re: How do I copy an empty directory?
in thread How do I copy an empty directory?

Correct me if I am wrong, but File::Copy copies files and not directories.
  • Comment on Re^2: How do I copy an empty directory?

Replies are listed 'Best First'.
Re^3: How do I copy an empty directory?
by kcott (Archbishop) on Oct 03, 2012 at 01:19 UTC

    Well, it seems you're correct with respect to File::Copy::copy(); however, File::Copy::move() seems to work fine.

    I tried copy() on an empty directory and just got an empty (normal) file. I then tried move() on an empty directory and that worked; move() on a populated directory also worked, i.e. moved the directory and its contents.

    If you're the OP, sorry for the bum steer. I'll update my post.

    -- Ken