summaryrefslogtreecommitdiff
path: root/fml/lib/File
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-02-22 11:55:45 +0000
committerfukachan <fukachan>2001-02-22 11:55:45 +0000
commitada1168f0a601c95ae591289a0f3e97d668126c7 (patch)
tree9658abed51807df159989db3a12a19af4aeeecb7 /fml/lib/File
parent250a893a0e9dbee34bce515a01d55b9d42eff202 (diff)
downloadfml8-ada1168f0a601c95ae591289a0f3e97d668126c7.tar.gz
fml8-ada1168f0a601c95ae591289a0f3e97d668126c7.tar.bz2
fml8-ada1168f0a601c95ae591289a0f3e97d668126c7.zip
clean up document
Diffstat (limited to 'fml/lib/File')
-rw-r--r--fml/lib/File/RingBuffer.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/fml/lib/File/RingBuffer.pm b/fml/lib/File/RingBuffer.pm
index 1d94da3a..5fc63250 100644
--- a/fml/lib/File/RingBuffer.pm
+++ b/fml/lib/File/RingBuffer.pm
@@ -27,15 +27,15 @@ File::RingBuffer - IO operations to ring buffer which consists of files
directory => '/some/where'
};
$fh = $obj->open;
- print $fh $message;
+ print $fh "some message";
$fh->close;
... unlock ...
=head1 DESCRIPTION
-To log messages but up to some limit, it is useful to use the ring of
-files as a buffer.
+To log messages but up to some limit, it may be useful to use a file
+in cyclic way. It is chosen among a set of files as a buffer.
Consider several files under a directory C<ring/>
where the unit of the ring is 5 here.