summaryrefslogtreecommitdiff
path: root/fml/lib/IO/File
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-03-07 18:05:43 +0000
committerfukachan <fukachan>2001-03-07 18:05:43 +0000
commitc8ded78023c1b8c3fd8cf2063976f0c13e44216f (patch)
tree4627e3d2dbd8a347b1d5d8913b0c91a444cb8c14 /fml/lib/IO/File
parent00874fd9e827d7b98f31c9fcfb240b917d3fd8c7 (diff)
downloadfml8-c8ded78023c1b8c3fd8cf2063976f0c13e44216f.tar.gz
fml8-c8ded78023c1b8c3fd8cf2063976f0c13e44216f.tar.bz2
fml8-c8ded78023c1b8c3fd8cf2063976f0c13e44216f.zip
clean up English ;)
Diffstat (limited to 'fml/lib/IO/File')
-rw-r--r--fml/lib/IO/File/Atomic.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/fml/lib/IO/File/Atomic.pm b/fml/lib/IO/File/Atomic.pm
index f6bbb093..3c431752 100644
--- a/fml/lib/IO/File/Atomic.pm
+++ b/fml/lib/IO/File/Atomic.pm
@@ -31,7 +31,10 @@ IO::Atomic - atomic IO operation
print $wh "new/updated things ...";
$wh->close unless $wh->error;
-So, in usual cases, you use this module in the following way.
+In C<close()> runs, the C<$file> is replaced with the new content.
+Updating is defered until C<close()>.
+
+In usual cases, you use this module in the following way.
use FileHandle;
use IO::Atomic;