Hello mrityunjaynath,
No, stick with the File::Copy::Recursive module. File::NCopy is deprecated, according to its own documentation:
File::NCopy - Deprecated module. Use File::Copy::Recursive instead.
To learn how to install modules, see the Monastery’s Installing Modules tutorials. If you already have App::cpanminus installed, the process is as simple as entering:
>cpanm File::Copy::Recursive
from the command line.
Another point: Where does $newpath come from? You need to declare and initialise it before it’s used:
... my $newpath = ...; # Provide an initial value here my $source_dirrtl = $newpath . "/rtl"; ...
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re^3: error in copy folder recursively
by Athanasius
in thread error in copy folder recursively
by mrityunjaynath
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |