Skip to content

Perl distributions File-Replace, Tie-Handle-Base, File-Replace-Fancy, and File-Replace-Inplace (see README)

License

Notifications You must be signed in to change notification settings

haukex/File-Replace

Repository files navigation

File-Replace

This is the distribution of the Perl module File::Replace.

It is a Perl extension for replacing files by renaming a temp file over the original.

Please see the module's documentation (POD) for details (try the command perldoc lib/File/Replace.pm) and the file Changes for version information.

Kwalitee Score CPAN Testers

Important Note About the Repository

Because this module's code was forked from the original File-Replace distribution and repository, its code is still contained in the File-Replace repository, branch onlyreplace, which you can find at https://github.com/haukex/File-Replace/tree/onlyreplace.

If you're checking out this suite of modules from Git, I suggest the following:

git clone --branch tiehandle https://github.com/haukex/File-Replace.git Tie-Handle-Base
git clone --branch onlyreplace https://github.com/haukex/File-Replace.git File-Replace
git clone --branch fancyreplace https://github.com/haukex/File-Replace.git File-Replace-Fancy
git clone --branch reinplace https://github.com/haukex/File-Replace.git File-Replace-Inplace

Installation

To install this module type the following:

perl Makefile.PL
make
make test
make install

If you are running Windows, you may need to use dmake, nmake, or gmake instead of make.

Dependencies

Requirements: Perl v5.8.1 or higher (a more current version is strongly recommended) and several of its core modules; users of older Perls may need to upgrade some core modules.

The full list of required modules can be found in the file Makefile.PL. This module should work on any platform supported by these modules.

Author, Copyright and License

Copyright (c) 2017-2023 Hauke Daempfling [email protected] at the Leibniz Institute of Freshwater Ecology and Inland Fisheries (IGB), Berlin, Germany, http://www.igb-berlin.de/

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.