NAME

Test::File::ShareDir::TempDirObject - Internal Object to make code simpler.

VERSION

version 0.1.1

SYNOPSIS

my $object = $class->new({
    -root => 'foo',
    -share => {
        -module => {
            'baz' => 'dir',
        }
    }
});

# installs a sharedir for 'baz' by copying 'foo/dir'
$object->_install_module('baz');

# add to @INC
unshift @INC, $object->_tempdir->stringify;

METHODS

new

Creates a new instance of this object.

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 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.