File::Copy
Or rather File::Copy::Recursive for cp -r functionality.
Unfortunately, it's not a core module... which might be reason enough for someone to just stick with shelling out to the system cp — unless portability is a concern.
In reply to Re^2: Not able to use native linux commands in a perl script
by Anonyrnous Monk
in thread Not able to use native linux commands in a perl script
by Nihad Nizar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |