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
Test::File::ShareDir::Object::Dist(3) User Contributed Perl Documentation Test::File::ShareDir::Object::Dist(3)

Test::File::ShareDir::Object::Dist - Object Oriented ShareDir creation for distributions

version 1.001002

    use Test::File::ShareDir::Object::Dist;

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

    $dir->install_all_dists;
    $dir->add_to_inc;

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

Returns the names of all distributions listed in the "dists" set.

    my $dir = $instance->dist_share_target_dir("Dist-Name");

Returns the path where the "ShareDir" will be created for "Dist-Name"

    my $dir = $instance->dist_share_source_dir("Dist-Name");

Returns the path where the "ShareDir" will be COPIED FROM for "Dist-Name"

    $instance->install_dist("Dist-Name");

Installs "Dist-Name"'s "ShareDir"

    $instance->install_all_dists();

Installs all "dist_names"

DEPRECATED: Use "register" instead.

    $instance->register();

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

Since 1.001000

    $instance->clear();

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

Since 1.001000

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

A hash of :

    Dist-Name => "relative/path"

The origin all paths's are relative to.

( Defaults to "cwd" )

Kent Fredric <kentnl@cpan.org>

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.

2017-03-01 perl v5.32.1

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

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