++ed by:
ABRAXXA ADAMJS ALEXBIO ANDREFS ARJONES

117 PAUSE user(s)
93 non-PAUSE user(s).

Malcolm Beattie

NAME

FileCache - keep more files open than the system permits

SYNOPSIS

    cacheout $path;
    print $path @data;

DESCRIPTION

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.

BUGS

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




Hosting generously
sponsored by Bytemark