This module monitors and processes any lines appended to the end of one
or more files in a given list of directories and keeping state between
sessions.
It monitors files in a given directory (or set of directories), such as
Apache log files in /var/log/httpd, and as the log files are written to,
takes the changes and sends them to a running instance of the Scribe
logging system.
File::Tempdir is a Perl5 module which provides an object interface to
tempdir() from File::Temp. This allow to destroy the temporary directory
as soon you don't need it anymore using the magic DESTROY() function
automatically call be perl when the object is no longer reference.
File::Touch - update access and modification timestamps, creating nonexistent
files where necessary.
File::Type uses magic numbers (typically at the start of a file) to determine
the MIME type of that file.
File::Type can use either a filename, or file contents, to determine the type
of a file.
File::Util provides a comprehensive toolbox of utilities to automate
all kinds of common tasks on file / directories. Its purpose is to do
so in the most portable manner possible so that users of this module
won't have to worry about whether their programs will work on other
OSes and machines.
FileHandle::Unget is a drop-in replacement for FileHandle which allows more
than one byte to be placed back on the input. It supports an ungetc(ORD) which
can be called more than once in a row, and an ungets(SCALAR) which places a
string of bytes back on the input.
File::Write::Rotate can be used to write to file, usually for logging, that can
rotate itself. File will be opened in append mode. Locking will be done to avoid
conflict when there are multiple writers. Rotation can be done by size (after a
certain size is reached), by time (daily/monthly/yearly), or both.
Filesys::Notify::KQueue is IO::KQueue wrapper for watching file
system.
This module implements so-called "guards". A guard is something (usually
an object) that "guards" a resource, ensuring that it is cleaned up when
expected.