in reply to Re^2: error in copy folder recursively
in thread error in copy folder recursively
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, |
|
|---|