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

FreeBSD Manual Pages

  
 
  

home | help
Test::File::ShareDir::UserDContributed PTest::File::ShareDir::TempDirObject(3)

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

VERSION
       version 1.001002

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

METHODS
   new
       Creates a new instance of this object.

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-0Test::File::ShareDir::TempDirObject(3)

NAME | VERSION | SYNOPSIS | METHODS | 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::TempDirObject&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help