Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Test::File::ShareDir::UsercContributed PerTest::File::ShareDir::Object::Inc(3)

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

VERSION
       version 1.001002

SYNOPSIS
	   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;

DESCRIPTION
       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

METHODS
   "add_to_inc"
       DEPRECATED: Use "register" instead.

   "register"
	   $instance->register;

       Allows this "Inc" to be used.

       Presently, this injects the associated "tempdir"	into @INC

       Since 1.001000

   "clear"
	   $instance->clear();

       Prevents	this "Inc" from	being used.

       Presently, this removes the "tempdir" from @INC

       Since 1.001000

ATTRIBUTES
   "tempdir"
       A path to a "tempdir" of	some description.

   "module_tempdir"
       The "module" "ShareDir" base directory within the "tempdir"

   "dist_tempdir"
       The "dist" "ShareDir" base directory within the "tempdir"

AUTHOR
       Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2017 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.

perl v5.32.0			  2017-03-Test::File::ShareDir::Object::Inc(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | METHODS | ATTRIBUTES | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Test::File::ShareDir::Object::Inc&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help