in reply to compile error in perl script

You need to post your exact error messages and your exact command line so we can see what options you passed to your script.

My guess is one error relates to File::Copy, which has a "move" command (move is not a built-in Perl function). You probably need to add:

use File::Copy;

See also: Basic debugging checklist