|There's more than one way to do things|
I have an application (that I did not write myself) that is currently distributed as a tar-file consisting of the main script depending on some modules.
The modules in turn depend on about 50 CPAN-modules.
Part of the distribution is an install-script that checks the prerequisites (by doing a use_ok on all the CPAN-modules it depends on) and creates some directories and default config-files.
Unfortunately (that is what I want to change) it is up to the user to satisfy the dependencies, i.e. the install-script aborts the installation when a dependency is not met, rather than installing the dependency as part of the installation.
What would be the best way to fix this?
What would be the easiest way to convert the installer into something that also installs missing dependencies?