diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-08-27 02:24:42 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-08-27 02:24:42 +0000 |
commit | a59effc3abc7ba62988edb7fa37f0a8e7311a3f0 (patch) | |
tree | f3af07d534641123a0161840689601d53d6da5be /cad | |
parent | 44b21dc9bd95f2050458c9cb2a7d99405662aeb5 (diff) | |
download | freebsd-ports-a59effc3abc7ba62988edb7fa37f0a8e7311a3f0.zip |
This defines the policy for file I/O with modules such as
File::Slurp::WithinPolicy. The purpose is to allow systems administrators to
define locations and restrictions for applications' file I/O and give app
developers a policy to follow. Note that the module doesn't ENFORCE the
policy - application developers can choose to ignore it
(and systems administrators can choose not to install their applications
if they do!).
You may control which policy gets applied by creating a File::Policy::Config
module with an IMPLEMENTATION constant. You may write your own policy as a
module within the File::Policy:: namespace.
By default (if no File::Policy::Config is present), the File::Policy::Default
policy gets applied which doesn't impose any restrictions and provides
reasonable default locations for temporary and log files.
WWW: http://search.cpan.org/dist/File-Policy/
Diffstat (limited to 'cad')
0 files changed, 0 insertions, 0 deletions