Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: error in copy folder recursively

by marto (Cardinal)
on Jul 04, 2015 at 08:56 UTC ( [id://1133133]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1133133]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-18 03:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found