Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: A smart installer or setup assistant

by Your Mother (Chancellor)
on May 13, 2008 at 21:01 UTC ( #686368=note: print w/replies, xml ) Need Help??


in reply to A smart installer or setup assistant

If it were my stuff I might write a Template for the Makefile.PL and use a prompt module (or something handrolled) to ask, "include this? (y/n)" etc and take the results of the prompts to write the final Makefile.PL. I think Module::Install might even let you do a lot of that inline if you just wanted a big single one. Makefiles are just Perl scripts after all. The script (or I'd just as soon do most in the template in a case like this with THROW and such) would keep the logic for interdependencies, etc.

Come to think of it, TT is probably a poor choice because it might not be installed on the target machine; but you would probably be generating dists on your box... anyway, you get the idea.

Then you'd also need to use the information to decide which tests to run on the given installation. You're running all the wonderful tests you've spent the years amassing, right? :)

  • Comment on Re: A smart installer or setup assistant

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://686368]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2017-12-16 22:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (459 votes). Check out past polls.

    Notices?