File::HomeDir::PathClass is just a wrapper around File::HomeDir methods,
transforming their return value to Path::Class objects. This allows for easier
usage of the value.
Refer to File::HomeDir#METHODS for a list of which functions are supported.
File::HomeDir::PathClass supports both original File::HomeDir interfaces.
Simple and dumb file system watcher.
This is a port of Apache2 mod_mime_magic.c in Perl, written in XS with the
aim of being efficient and fast especially for applications that need to
be run for an extended amount of time.
There is a compatibility layer for File::MMagic. you can specify :compat
when importing the module
use File::MMagic::XS qw(:compat);
And then the following methods are going to be available from
File::MMagic::XS:
checktype_filename
checktype_filehandle
checktype_contents
addMagicEntry
Currently this software is in beta. If you have
suggestions/recommendations about the interface or anything else, now is
your chance to send them!
Perl module for ptrace(2). i386 arch only.
Provides recursive versions of mkdir() and rmdir()
with as little code and overhead as possible.
This module is a wrapper around Getopt::Long that extends the value of
the original Getopt::Long module to:
1) add a simple graphical user interface option screen if no arguments
are passed to the program.
2) provide an auto-help mechanism such that -h and --help are handled
automatically.
It's designed to make the creation of graphical shells trivial without the
programmer having to think about it much as well as providing automatic
good-looking usage output without the programmer needing to write usage()
functions.
This also can turn normal command line programs into web CGI scripts as
well (automatically). If the Getopt::GUI::Long program is installed as a
CGI script then it will automatically prompt the user for the same
variables.
File::ShareDir::PAR provides the same functionality as File::ShareDir but tries
hard to be compatible with PAR packaged applications.
The problem is, that the concept of having a distribution or module specific
share directory becomes a little hazy when you're loading everything from
a single file. PAR uses an @INC hook to intercept any attempt to load a module.
File::ShareDir uses the directory structure that is typically found in the
directories that are listed in @INC for storing the shared data. In a PAR
enviroment, this is not necessarily possible.
WARNING:
This module contains highly experimental code. If you want to load
modules from .par files using PAR and then access their shared directory
using File::ShareDir, you probably have no choice but to use it.
File::ShareDir::PathClass is just a wrapper around File::ShareDir
functions, transforming their return value to Path::Class objects.
This allows for easier usage of the value.
Simple set-and-forget using of a '/share' directory in your projects
root.
File::Slurp::Tree provides functions for slurping and emitting trees of files
and directories.
# an example of use in a test suite
use Test::More tests => 1;
use File::Slurp::Tree;
is_deeply( slurp_tree( "t/some_path" ), { foo => {}, bar => "sample\n" },
"some_path contains a directory called foo, and a file bar" );
The tree data structure is a hash of hashes. The keys of each hash are names of
directories or files. Directories have hash references as their value, files
have a scalar which holds the contents of the file.