1Test::File::ShareDir::OUbsjeerctC:o:nItnrci(b3u)ted PerlTeDsotc:u:mFeinltea:t:iSohnareDir::Object::Inc(3)
2
3
4

NAME

6       Test::File::ShareDir::Object::Inc - Shared tempdir object code to
7       inject into @INC
8

VERSION

10       version 1.001002
11

SYNOPSIS

13           use Test::File::ShareDir::Object::Inc;
14
15           my $inc = Test::File::ShareDir::Object::Inc->new();
16
17           $inc->tempdir() # add files to here
18
19           $inc->module_tempdir() # or here
20
21           $inc->dist_tempdir() # or here
22
23           $inc->add_to_inc;
24

DESCRIPTION

26       This class doesn't do very much on its own.
27
28       It simply exists to facilitate "tempdir" creation, and the injection of
29       those "tempdir"'s into @INC
30

METHODS

32   "add_to_inc"
33       DEPRECATED: Use "register" instead.
34
35   "register"
36           $instance->register;
37
38       Allows this "Inc" to be used.
39
40       Presently, this injects the associated "tempdir" into @INC
41
42       Since 1.001000
43
44   "clear"
45           $instance->clear();
46
47       Prevents this "Inc" from being used.
48
49       Presently, this removes the "tempdir" from @INC
50
51       Since 1.001000
52

ATTRIBUTES

54   "tempdir"
55       A path to a "tempdir" of some description.
56
57   "module_tempdir"
58       The "module" "ShareDir" base directory within the "tempdir"
59
60   "dist_tempdir"
61       The "dist" "ShareDir" base directory within the "tempdir"
62

AUTHOR

64       Kent Fredric <kentnl@cpan.org>
65
67       This software is copyright (c) 2017 by Kent Fredric <kentnl@cpan.org>.
68
69       This is free software; you can redistribute it and/or modify it under
70       the same terms as the Perl 5 programming language system itself.
71
72
73
74perl v5.28.1                      2017-03-0T1est::File::ShareDir::Object::Inc(3)
Impressum