in reply to compile error in perl 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; [download]
See also: Basic debugging checklist