Test::File::ShareDir::TempDirObject - Internal Object to make code simpler.
version 1.000001
my $object = $class->new({ -root => 'foo', # optional -share => { -module => { 'baz' => 'dir', }, -dist => { 'Task-baz' => 'otherdir', }, }, }); # installs a sharedir for 'baz' by copying 'foo/dir' $object->_install_module('baz'); # installs a shardir for distribution 'Task-baz' by copying 'foo/otherdir' $object->_install_dist('Task-baz'); # add to @INC unshift @INC, $object->_tempdir->stringify;
Creates a new instance of this object.
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.