Package : perl-File-AtomicWrite
Package details
Summary: Writes files atomically via rename()
Description:
This module offers atomic file writes via a temporary file created in the
same directory (and therefore, probably the same partition) as the
specified *file*. After data has been written to the temporary file, the
'rename' call is used to replace the target *file*. The module optionally
supports various sanity checks (*min_size*, *CHECKSUM*) that help ensure
the data is written without errors.
Should anything go awry, the module will 'die' or 'croak'. All calls should
be wrapped in eval blocks:
eval {
File::AtomicWrite->write_file(...);
};
if ($@) {
die "uh oh: $@";
}
URL: http://search.cpan.org/dist/File-AtomicWrite
License: GPL+ or Artistic
Maintainer: nobody
Description:
This module offers atomic file writes via a temporary file created in the
same directory (and therefore, probably the same partition) as the
specified *file*. After data has been written to the temporary file, the
'rename' call is used to replace the target *file*. The module optionally
supports various sanity checks (*min_size*, *CHECKSUM*) that help ensure
the data is written without errors.
Should anything go awry, the module will 'die' or 'croak'. All calls should
be wrapped in eval blocks:
eval {
File::AtomicWrite->write_file(...);
};
if ($@) {
die "uh oh: $@";
}
URL: http://search.cpan.org/dist/File-AtomicWrite
License: GPL+ or Artistic
Maintainer: nobody
List of RPMs
- perl-File-AtomicWrite-1.160.0-3.mga6.noarch.rpm (Mageia 6, x86_64 media, core-release) Install