File::Cache implements an object store where data is persistent across
processes in the filesystem. It was written to complement IPC::Cache.
Where IPC::Cache is faster for small numbers of simple objects,
File::Cache tends towards being more performant when caching large
numbers of complex objects.
Watch for changes to files, cross-platform style
File::ConfigDir is a helper for installing, reading and finding configuration
file locations. It's intended to work in every supported Perl5 environment and
will always try to Do The Right Thing(TM).
File::ConfigDir is a module to help out when perl modules (especially
applications) need to read and store configuration files from more than one
location. Writing user configuration is easy thanks to File::HomeDir, but what
when the system administrator needs to place some global configuration or there
will be system related configuration (in /etc on UNIX(TM) or $ENV{windir} on
Windows(TM)) and some network configuration in nfs mapped /etc/p5-app or
$ENV{ALLUSERSPROFILE} . "\\Application Data\\p5-app", respectively.
File::ConfigDir has no "do what I mean" mode - it's entirely up to the user to
pick the right directory for each particular application.
File::Remove - Remove files and directories
Keeps track of creation times on filesystems that don't normally provide
such information.
use File::CreationTime;
my $file = '/path/to/file';
print "$file was created: ". creation_time($file). "\n";
This module is used to work with .desktop files. The format of these files is
specified by the freedesktop "Desktop Entry" specification.
These are quickie routines that are meant to save a couple
of lines of code over and over again. They do not do
anything fancy.
File::Sync provides Perl interfaces to the Unix sync(2) and POSIX.1b
fsync(2) system calls. The fsync() call is needed for putting messages into
qmail maildirs, and sync() is included for completeness.
The File::Tail module is designed for reading files which are continuously
appended to (the name comes from the tail -f directive). Usually such files
are log files of some description.
File::Temp is a Perl5 module which can be used to generate temporary files
(providing a filename and filehandle) or directories. Possible race
conditions are avoided and some security checks are performed (e.g. making
sure the sticky bit is set on world writeable temp directories).