| 1 |
README for Perl extension File-Copy-Recursive-Reduced |
| 2 |
File-Copy-Recursive-Reduced is a Perl library which provides |
| 3 |
subroutines exported on request which are intended to serve as |
| 4 |
drop-in replacements for certain subroutines found in CPAN |
| 5 |
distribution File-Copy-Recursive |
| 6 |
<http://search.cpan.org/~dmuey/File-Copy-Recursive-0.40/> (FCR). |
| 7 |
|
| 8 |
What Problem Does This Library Address? |
| 9 |
As of early April 2018, FCR was failing to install on several |
| 10 |
important operating systems including FreeBSD and Windows. As a |
| 11 |
consequence, other CPAN distributions which had a direct or |
| 12 |
indirect dependency on FCR (*e.g.*, CPAN-Reporter, DateTime, |
| 13 |
Dist-Zilla) were failing to install on those platforms as well. |
| 14 |
|
| 15 |
Such failures were "silent" in the sense that CPANtesters |
| 16 |
installations generate no report authors when a distribution's |
| 17 |
upstream dependencies fail to install. No report to the |
| 18 |
CPANtesters database means no email notification to CPAN |
| 19 |
authors. So many authors were unaware that their distributions |
| 20 |
were failing to install on important platforms. |
| 21 |
|
| 22 |
Uncertainty as to when FCR would be fixed led to the creation of |
| 23 |
File-Copy-Recursive-Reduced (FCR2). Certain CPAN distributions |
| 24 |
adopted it in place of FCR. With the April 19 2018 release of |
| 25 |
FCR version 0.41, the problems that motivated the creation of |
| 26 |
FCR2 have been addressed. |
| 27 |
|
| 28 |
FCR2 is now feature-complete. It exports three functions on |
| 29 |
demand which are substantially equivalent to their FCR |
| 30 |
equivalents: |
| 31 |
|
| 32 |
* "fcopy()" |
| 33 |
|
| 34 |
* "dircopy()" |
| 35 |
|
| 36 |
* "rcopy()" |
| 37 |
|
| 38 |
After installation, call perldoc File::Copy::Recursive::Reduced |
| 39 |
for more usage details. |
| 40 |
|
| 41 |
These functions are quite appropriate in situations such as test |
| 42 |
suites where the user has full knowledge of the files, |
| 43 |
directories and symlinks to be recursively copied and does not |
| 44 |
need to manipulate the environment by setting localized versions |
| 45 |
of FCR's package global variables. |
| 46 |
|
| 47 |
Install |
| 48 |
This library can be installed in the customary way, *i.e.,* by a |
| 49 |
CPAN installer program such as cpan or cpanm or by satisfying |
| 50 |
its prerequisites (Capture::Tiny and Path::Tiny, for the test |
| 51 |
suite only) and then calling: |
| 52 |
|
| 53 |
perl Makefile.PL |
| 54 |
make |
| 55 |
make test |
| 56 |
make install |
| 57 |
|
| 58 |
For further information, after installation call "perldoc |
| 59 |
File::Copy::Recursive::Reduced". |
| 60 |
|