summaryrefslogtreecommitdiff
path: root/fml/lib/File
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-03-09 16:32:46 +0000
committerfukachan <fukachan>2001-03-09 16:32:46 +0000
commit77fd308cddaf5008486117fb4b5f86f1399a648c (patch)
treea8e6850107227bd26c900b655118b18e53e38041 /fml/lib/File
parentc763469a80f0e925e47af75feff0953413d11412 (diff)
downloadfml8-77fd308cddaf5008486117fb4b5f86f1399a648c.tar.gz
fml8-77fd308cddaf5008486117fb4b5f86f1399a648c.tar.bz2
fml8-77fd308cddaf5008486117fb4b5f86f1399a648c.zip
clean up description
Diffstat (limited to 'fml/lib/File')
-rw-r--r--fml/lib/File/Rotate.pm9
-rw-r--r--fml/lib/File/Sequence.pm6
-rw-r--r--fml/lib/File/SimpleLock.pm3
3 files changed, 8 insertions, 10 deletions
diff --git a/fml/lib/File/Rotate.pm b/fml/lib/File/Rotate.pm
index 4c146414..c7a243c9 100644
--- a/fml/lib/File/Rotate.pm
+++ b/fml/lib/File/Rotate.pm
@@ -18,11 +18,11 @@ END {}
=head1 NAME
-FILE::Rotate - IO with rotate operations
+File::Rotate - file rotate operations
=head1 SYNOPSIS
- $obj = new FILE::Rotate {
+ $obj = new File::Rotate {
max_size => 10000,
num_backlog => 4,
};
@@ -30,9 +30,8 @@ FILE::Rotate - IO with rotate operations
=head1 DESCRIPTION
-library to wrap Rotate IO operations.
-It automatically rotates $file in close() operation.
-C<rotation> rearranges files like this:
+Utility functions for file rotate operations.
+C<rotation> renames and rearranges files like this:
rm file.4
mv file.3 file.4
diff --git a/fml/lib/File/Sequence.pm b/fml/lib/File/Sequence.pm
index 5630cc2b..5cfc90e6 100644
--- a/fml/lib/File/Sequence.pm
+++ b/fml/lib/File/Sequence.pm
@@ -47,9 +47,9 @@ $id becomes 0, 1, 2, 0, 1, 2...
File::Sequence module maintains the sequence number for something,
for example, the article number.
-For extension, you can generate cyclic number by this module.
-If you so, use the C<modulus> parameter in new() method.
-
+As an extension, you can generate a cyclic number by this module.
+Please specify C<modulus> parameter in new() method if you want to get
+a cyclic number.
=head2 C<new($args)>
diff --git a/fml/lib/File/SimpleLock.pm b/fml/lib/File/SimpleLock.pm
index e15fdb24..ab789d77 100644
--- a/fml/lib/File/SimpleLock.pm
+++ b/fml/lib/File/SimpleLock.pm
@@ -31,8 +31,7 @@ File::SimpleLock - simple lock by flock(2)
=head1 DESCRIPTION
-File::SimpleLock module contains several interfaces for several files,
-for example, Lockfiles, sysLock() (not yet implemented).
+File::SimpleLock module provides simple lock using flock(2).
=head1 METHODS