Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

perlman:lib:FileCache

by root (Scribe)
on Dec 23, 1999 at 00:49 UTC ( #1112=perlfunc: print w/replies, xml ) Need Help??

lib:FileCache

See the current Perl documentation for lib:FileCache.

Here is our local, out-dated (pre-5.6) version:


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.


BUGS

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


Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[stevieb]: It is clear that JetBrains needs an XS plugin. That at this time is WAY beyond my comprehension :)

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2017-02-22 02:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (322 votes). Check out past polls.