summaryrefslogtreecommitdiff
path: root/lib/FileCache.pm
diff options
context:
space:
mode:
authorJerrad Pierce <belg4mit@MIT.EDU>2002-04-27 15:14:17 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-27 22:19:08 +0000
commitdfe3554aff0fcf2eccc3abaf234fe559a45c6494 (patch)
tree360307d37a5aba9b7c5d55d37b7056464c286e29 /lib/FileCache.pm
parent30afd0dc34ec4b8eed82e154a076dbd7781b549e (diff)
downloadperl-dfe3554aff0fcf2eccc3abaf234fe559a45c6494.tar.gz
FileCache 1.02 -> 1.021
Message-Id: <200204272314.TAA08101@calloway.mit.edu> p4raw-id: //depot/perl@16234
Diffstat (limited to 'lib/FileCache.pm')
-rw-r--r--lib/FileCache.pm9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/FileCache.pm b/lib/FileCache.pm
index 2f8f1a6986..ee14d92d07 100644
--- a/lib/FileCache.pm
+++ b/lib/FileCache.pm
@@ -1,6 +1,6 @@
package FileCache;
-our $VERSION = '1.02';
+our $VERSION = '1.021';
=head1 NAME
@@ -45,6 +45,11 @@ If you use cacheout with C<'|-'> or C<'-|'> you should catch SIGPIPE
and explicitly close the filehandle., when it is closed from the
other end some cleanup needs to be done.
+While it is permissible to C<close> a FileCache managed file,
+do not do so if you are calling C<FileCache::cacheout> from a package other
+than which it was imported, or with another module which overrides C<close>.
+If you must, use C<FileCache::cacheout_close>.
+
=head1 BUGS
F<sys/param.h> lies with its C<NOFILE> define on some systems,
@@ -52,7 +57,7 @@ so you may have to set maxopen (I<$FileCache::cacheout_maxopen>) yourself.
=cut
-require 5.000;
+require 5.006;
use Carp;
use strict;
no strict 'refs';