Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Installing templates or other static files with ExtUtils::MakeMaker

by djerius (Beadle)
on Mar 17, 2014 at 18:28 UTC ( #1078653=note: print w/ replies, xml ) Need Help??


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

By this, may I assume that you are not allowed to install modules from CPAN in your development environment? (I ask because the relevant parts of Module::Install required for installation are bundled with the distribution. The only dependency when deployed is ExtUtils::MakeMaker).

If this assumption is correct, one approach would be to add a new target to your Makefile.PL; see the end of the Overriding MakeMaker Methods section in ExtUtils::MakeMaker. You might use the code in Module::Install::Share as a starting point, as that's the approach it takes.


Comment on Re: Installing templates or other static files with ExtUtils::MakeMaker
Re^2: Installing templates or other static files with ExtUtils::MakeMaker
by tmaly (Monk) on Mar 17, 2014 at 19:26 UTC

    I considered overriding the makemaker methods, but I was hoping for a cleaner approach if one existed.

    I will take a look at the code for Module::Install::Share


    Thank you

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1078653]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-07-03 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (56 votes), past polls