Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

File::HomeDir::Test

Name File::HomeDir::Test
Version 1.002
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/File/HomeDir/Test.pm
Is Core No
Search CPAN for this module File::HomeDir::Test
Documentation File::HomeDir::Test
Module Details File::HomeDir::Test


NAME

File::HomeDir::Test - Prevent the accidental creation of user-owned files during testing


SYNOPSIS

  use Test::More test => 1;
  use File::HomeDir::Test;
  use File::HomeDir;


DESCRIPTION

File::HomeDir::Test is a the File::HomeDir manpage driver intended for use in the test scripts of modules or applications that write files into user-owned directories.

It is designed to prevent the pollution of user directories with files that are not part of the application install itself, but were created during testing. These files can leak state information from the tests into the run-time usage of an application, and on Unix systems also prevents tests (which may be executed as root via sudo) from writing files which cannot later be modified or removed by the regular user.


SUPPORT

See the support section of the main the File::HomeDir manpage documentation.


AUTHOR

Adam Kennedy <adamk@cpan.org>


COPYRIGHT

Copyright 2005 - 2011 Adam Kennedy.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024