Test::File::ShareDir::Object::Inc - Shared tempdir object code to inject into @INC
version 1.000002
use Test::File::ShareDir::Object::Inc; my $inc = Test::File::ShareDir::Object::Inc->new(); $inc->tempdir() # add files to here $inc->module_tempdir() # or here $inc->dist_tempdir() # or here $inc->add_to_inc;
This class doesn't do very much on its own.
It simply exists to facilitate tempdir creation, and the injection of those tempdir's into @INC
tempdir
@INC
add_to_inc
$instance->add_to_inc;
Injects tempdir into @INC
A path to a tempdir of some description.
module_tempdir
The module ShareDir base directory within the tempdir
module
ShareDir
dist_tempdir
The dist ShareDir base directory within the tempdir
dist
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Test::File::ShareDir, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::File::ShareDir
CPAN shell
perl -MCPAN -e shell install Test::File::ShareDir
For more information on module installation, please visit the detailed CPAN module installation guide.