Are optional dependencies with Dist::Zilla possible?

217 Views Asked by At

I want to make some of my dependencies detected by Dist::Zilla optional. How could I go about doing this?

1

There are 1 best solutions below

0
On BEST ANSWER

The Dist::Zilla::Plugin::Prereqs documentation says you can define them as:

[Prereqs / RuntimeRecommends]
Some::Optional::Module = 0

Though though apparently it's not supported by the common clients (or at least wasn't last summer).