... # use File::Copy::Recursive; # not used in your example use File::NCopy; # this is the module you're trying to use later ...