GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TEST::FILE::SHAREDIR::OBJECT::MODULE (3)

.ds Aq ’

NAME

Test::File::ShareDir::Object::Module - Object Oriented ShareDir creation for modules

CONTENTS

VERSION

version 1.001001

SYNOPSIS



    use Test::File::ShareDir::Object::Module;

    my $dir = Test::File::ShareDir::Object::Module->new(
        root    => "some/path",
        modules => {
            "Hello::Nurse" => "share/HN"
        },
    );

    $dir->install_all_modules;
    $dir->add_to_inc;



METHODS

CWmodule_names



    my @names = $instance->module_names();



Returns the names of all modules listed in the modules set.

CWmodule_share_target_dir



    my $dir = $instance->module_share_target_dir("Module::Name");



Returns the path where the ShareDir will be created for Module::Name

CWmodule_share_source_dir



    my $dir = $instance->module_share_source_dir("Module::Name");



Returns the path where the ShareDir will be <B>COPIEDB> FROM for Module::Name

CWinstall_module



    $instance->install_module("Module::Name");



Installs Module::Name’s ShareDir

CWinstall_all_modules



    $instance->install_all_modules();



Installs all module_names.

CWadd_to_inc

<B>DEPRECATED:B> Use register instead.

CWregister



    $instance->register();



Adds the Tempdir ShareDir ( inc ) to the global @INC

Since 1.001000

CWclear



    $instance->clear();



Removes the Tempdir ShareDir ( inc ) from the global @INC

Since 1.001000

ATTRIBUTES

CWinc

A Test::File::ShareDir::Object::Inc object.

CWmodules

A hash of :



    Module::Name => "relative/path"



CWroot

The origin all paths’s are relative to.

( Defaults to cwd )

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEST::FILE::SHAREDIR::OBJECT::MODULE (3) 2015-03-01

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.