in reply to Not able to use native linux commands in a perl script

  • Comment on Re: Not able to use native linux commands in a perl script

Replies are listed 'Best First'.
Re^2: Not able to use native linux commands in a perl script
by Anonyrnous Monk (Hermit) on Dec 13, 2010 at 19:39 UTC
    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.