in reply to Installing templates or other static files with ExtUtils::MakeMaker

I only have access to ExtUtils::MakeMaker in the environment I am working in, so I would not be able to use Module::Install

cool, then copy/paste what File::ShareDir::Install does

  • Comment on Re: Installing templates or other static files with ExtUtils::MakeMaker

Replies are listed 'Best First'.
Re^2: Installing templates or other static files with ExtUtils::MakeMaker
by tobyink (Canon) on Mar 18, 2014 at 11:09 UTC

    No need to copy and paste it. Just use it. It's a small, self-contained, pure Perl module with no non-core dependencies, so you could just bundle it in the distributed tarball as inc/File/ShareDir/Install.pm, and load it like:

    use lib "inc"; use File::ShareDir::Install;
    use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name