Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: A smart installer or setup assistant

by Your Mother (Bishop)
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 having an uproarious good time at the Monastery: (6)
As of 2018-07-19 13:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (408 votes). Check out past polls.

    Notices?