FileCache - keep more files open than the system permits
cacheout $path; print $path @data;
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.
cacheout
sys/param.h lies with its NOFILE define on some systems, so you may have to set $FileCache::cacheout_maxopen yourself.
NOFILE
To install lib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm lib
CPAN shell
perl -MCPAN -e shell install lib
For more information on module installation, please visit the detailed CPAN module installation guide.