FileCache(3pm)

FileCache3pm

Keep more files open than the system permits

Usage

    cacheout $path;
    print $path @data;

Overview

The cacheout function will make sure that there's a filehandle open for writing available as the pathname you give it. It automatically closes and re-opens files if you exceed your system file descriptor maximum.

Releases

6 releases since Debian 1.1 (Buzz); the text changed 4 times.

  1. 1.1
  2. 1.2–1.3
  3. 2.0
  4. 2.1
  5. 2.2

Bugs

sys/param.h lies with its NOFILE define on some systems, so you may have to set $FileCache::cacheout_maxopen yourself.

From perl-5.004-doc 5.004.05-6 in Debian 2.2 (Potato). Also shipped by perl-5.005-doc. Parsed by carta from the page's man source.