in reply to Re^2: error in copy folder recursively
in thread error in copy folder recursively

I'm not sure you understand what people and perl are telling you. The perl error means that File::Copy::Recursive is not installed. The module documentation explains how to install it. Use the cpan method so that dependencies are also installed.

Later in your code you have:

my $cp = File::NCopy->new(recursive => 1);

Your code does not have a use line for this module, like you do have for the other modules.

I wouldn't recommend manually moving modules around unless you understand what you are doing. In addition I would suggest you take a step back and review the code you've posted.

Replies are listed 'Best First'.
Re^4: error in copy folder recursively
by mrityunjaynath (Acolyte) on Jul 04, 2015 at 09:08 UTC

    you may be right... i am new to perl ..
    as i said i have a source_folder containing some folders and files , i want to copy this folder and its subfolder and files to a target_directory. is there a way around for this thing....
    i am able to copy files but not subfolder