How can I manage Perl module dependencies?

前端 未结 7 1957
长发绾君心
长发绾君心 2020-12-25 08:31

I\'m currently in a project which develops using a framework developed by another department as the base. We are currently introducing quality standards (at last, yay!) in o

7条回答
  •  长情又很酷
    2020-12-25 08:59

    Somebody pointed out PAR already. Let me mention PAR::Repository and it's companion module PAR::Repository::Client. They implement a client/server infrastructure that can automatically load any dependencies that aren't found locally (or that can even prefer the server's packages). As an administrator, you can simply add or remove packages to or from your repository. The actual serving of packages is done with utterly normal servers: Any http(s) server or simply file:// will do. Other protocols should be rather straightforward to implement.

    It features the aforementioned magic auto-loading mechanism, package installation, and automatic package upgrading. Apart from the module documentation, you can have a look at a presentation on PAR from YAPC::Europe 2008 that covers this to some extend.

    I have to admit that the automatic upgrading is sufficiently advanced technology that may eat a baby or two if it runs all out of kittens to gnaw on.

提交回复
热议问题