Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 exploiting the Monastery: (10)
As of 2014-08-21 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (134 votes), past polls