File::Mirror is a Perl extension for recursive directory copy.
SYNOPSIS
use File::Mirror;
# recurvie copy /path/A to /path/B
mirror '/path/A', '/path/B';
# or do things you like
recursive { my ($from, $to) = @_; copy($from, $to) } '/path/A', '/path/B';
File::Mirror provides two helper functions to do recursive directory operations between source path and destination path. One is to call mirror which will do recursive copy. The other is to call recursive with a code block, which will be code for every file found in the source path.
File::Mirror fills the gap between File::Copy::Recursive, which only focuses on file copying, and File::Find, which is too obstacal to use.
Product's homepage
Requirements:
· Perl