http://qs321.pair.com?node_id=761173


in reply to Move using File::Find

Its good that you've added error checking, but you need to do better. Something like
my (@useful) = ( "$File::Find::name, -d", "$dir.$_" ); move(@useful) or die "ERROR: move(", map( {qq"($_)"} @useful ), ") failed: $!";