source: trunk/essentials/dev-lang/perl/lib/FileCache.pm

Last change on this file was 3181, checked in by bird, 19 years ago

perl 5.8.8

File size: 5.3 KB
Line 
1package FileCache;
2
3our $VERSION = '1.06';
4
5=head1 NAME
6
7FileCache - keep more files open than the system permits
8
9=head1 SYNOPSIS
10
11 use FileCache;
12 # or
13 use FileCache maxopen => 16;
14
15 cacheout $mode, $path;
16 # or
17 cacheout $path;
18 print $path @data;
19
20 $fh = cacheout $mode, $path;
21 # or
22 $fh = cacheout $path;
23 print $fh @data;
24
25=head1 DESCRIPTION
26
27The C<cacheout> function will make sure that there's a filehandle open