全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: libmodule-install-authorrequires-perl  ]

套件:libmodule-install-authorrequires-perl(0.02-2)

libmodule-install-authorrequires-perl 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 libmodule-install-authorrequires-perl

維護小組:

外部的資源:

相似套件:

declare author-only dependencies

Modules often have optional requirements, for example dependencies that are useful for (optional) tests, but not required for the module to work properly.

Usually you want all developers of a project to have these optional modules installed. However, simply telling everyone or printing diagnostic messages if optional dependencies are missing often isn't enough to make sure all authors have all optional modules installed.

Module::Install already has a way of detecting an author environment, so an easy way to achieve the above would be something like:

 if ($Module::Install::AUTHOR) {
   requires 'Some::Module';
   requires 'Another::Module' => '0.42';
 }

Unfortunately, that'll also make the optional dependencies show up in the distributions "META.yml" file, which is obviously wrong, as they aren't actually hard requirements.

Working that around requires a considerable amount of non-trivial Makefile.PL hackery, or simply using Module::Install::AuthorRequires's "author_requires" command.

標籤: 軟體開發: Perl 開發, 函式庫, 實做語言: Perl

其他與 libmodule-install-authorrequires-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 libmodule-install-authorrequires-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 10。6 kB29。0 kB [檔案列表]