CopyTree::VendorProof::LocalFileOp - Perl extension for providing a local (mounted filesystem) connecter instance for CopyTree::VendorProof.
This module provides CopyTree::VendorProof a connector instance with subclass methods to deal with local file operations.
Oh, yes. You've probabaly stumbled across this module because you wanted to copy something recursively. Did you want to move some files into or off your SharePoint file server? Did you buy Opentext's Livelink EWS and wish to automate some file transfers? Well, this is kinda the right place, but it gets righter. Check out the documentation on my CopyTree::VendorProof module, where I have a priceless drill and screw analogy for how these modules all work together. The information on this page is a tad too technical if all you're trying to decide is whether this is the module you need.
To create a LocalFileOp connector instance:
my $lcfo_inst = CopyTree::VendorProof::LocalFileOp ->new;
To add a source or destination item to a CopyTree::VendorProof instance:
my $ctvp_inst = CopyTree::VendorProof ->new; $ctvp_inst ->src ('some_source_path_of_local_file_system', $lcfo_inst); $ctvp_inst ->dst ('some_destination_path_of_local_file_system', $lcfo_inst); $ctvp_inst ->cp;
CopyTree::VendorProof::LocalFileOp does nothing flashy - it merely provides a constructor method (new) and local file operation subclass methods for its parent class, CopyTree::VendorProof.
The subclass methods provided in this connector objects include:
new fdls is_fd read_info_memory write_from_memory copy_local_files cust_mkdir cust_rmdir cust_rmfile
The functionality of these methods are described in
Under the section "Object specific instance methods for the base class CopyTree::VendorProof"
This module only contain subclass methods described above. Since perl knows how to handle local files, there's no point re-writing anything other than present these perl functions as recognizable methods for the parent class.
You shouldn't have to invoke these methods manually. Consult the documentation of
And look under the section "Object specific instance methods for the base class CopyTree::VendorProof"
dbmolester, dbmolester de gmail.com
Copyright (C) 2011 by dbmolester
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.