Prev: FAQ 4.31 How can I split a [character] delimited string except when inside [character]?
Next: FAQ 5.1 How do I flush/unbuffer an output filehandle? Why must I do this?
From: Henry Law on 22 Jun 2010 09:12 I have a medium-sized application written in Perl which I ship about among a few friends. It has a couple of dozen of Perl programs and a tree of about ten modules, plus some configuration files; there are also OS-related files and shell scripts. All these components need to be placed in the right libraries on installation and I'm doing all that using "make", so that the user can type "configure", "make" and then "make install". There are also "make update" (to replace just the code) and "make uninstall". Currently I have an entirely specific "configure" program (written in Perl) which understands the details of the programs and modules and where to put them, and which also understands the various system files and how to install those too (entries in /etc/init.d for example). It allows the user to change the default locations if required, and it also makes a number of checks (libraries already exist, users are defined, and the like). I'd like to think, though, that there's a more general-purpose utility somewhere, to which I could specify "this library's contents go there unless the user says otherwise", and "the following users must be defined on the system", and so on, which would then create the Makefile. I've searched but I can't find anything at all on installing a Perl _application_ (as distinct from installing Perl _modules_). Where might I look? -- Henry Law Manchester, England |