Test::F...irObject(3)

🌸 NAME 🌸

okay so bestie, this is the manual page for Test::File::ShareDir::TempDirObject(3) (filed under Test::F...irObject(3)), straight from the User Contributed Perl Documentation. It's literally an Internal Object to make code simpler. That's the whole pitch. iconic. πŸ’…

πŸ¦‹ VERSION πŸ¦‹

version 1.001002 β€” yes, that's the exact version number, no cap.

✨ 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. That's it, that's the method β€” simple, useful, and honestly a little iconic.

πŸ’œ AUTHOR πŸ’œ

This page is by Kent Fredric <kentnl@cpan.org> β€” author, icon, legend, the whole vibe.

Legal tea time, but we're keeping every word exact:

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.

That's the license situation, periodt. 🫢


mwah πŸ’‹ β€” this page was served by perl v5.42.0, dated 2017-03-03, and filed under Test::F...irObject(3). bye bestie πŸ¦‹

πŸ“¦ where this page comes from