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

You're on the right track with File::Copy::Recursive. Take another look at the documentation, here's a short example to get you started:

#!/usr/bin/perl use strict; use warnings; use File::Copy::Recursive qw(dircopy); my $source = "d://source"; my $target = "d://target"; my $filecopied = dircopy($source, $target); print "files copied: $filecopied";

If you are new to perl the following links will likely be of interest: