diff options
Diffstat (limited to 'fml/lib/File')
| -rw-r--r-- | fml/lib/File/Rotate.pm | 9 | ||||
| -rw-r--r-- | fml/lib/File/Sequence.pm | 6 | ||||
| -rw-r--r-- | fml/lib/File/SimpleLock.pm | 3 |
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 |
