summaryrefslogtreecommitdiffabout
path: root/README
blob: e6fc4f0467d6796145158541e1c14860c33aa600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
File::BackupCopy
================

The File::BackupCopy module provides functions for creating backup copies of
files.  Two backup schemes are supported: simple and numbered backups.  In
simple (or single) backup scheme, only one backup copy is maintained for the
given file.  Its name is created by appending a single tilde character to the
original file name.  In numbered backup scheme, arbitrary number of backup
copies can be created.  The name of each backup copy is created by suffixing
the original file name with '.~N~', where N is a decimal number starting with
1.  Additionally, the automatic backup name scheme is implemented.  In this
naming scheme, numbered backups are created if at least one numbered backup
copy already exists and simple backups are created otherwise.

INSTALLATION
------------

The usual way:

   perl Makefile.PL
   make
   make test
   make install

COPYRIGHT AND LICENSE
---------------------

Copyright (C) 2020 by Sergey Poznyakoff

This library 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.

It 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 library. If not, see <http://www.gnu.org/licenses/>.

Return to:

Send suggestions and report system problems to the System administrator.