New dzil command to install author dependencies as Debian packages
Dist::Zilla is a great tool to limit tedious tasks while working on Perl modules. For instance, dzil provides tools like
dzil authordeps or
dzil listdeps to list dependencies.
This list of Perl modules can then be installed with cpanm:
dzil authordeps --missing | cpanm dzil listdeps --missing | cpanm
On a Debian system, one may prefer to install Perl modules using Debian packages. Installing build dependencies can be done with
apt build-dep, but
apt does not handle Dist::Zilla author dependencies.
authordebs Dist::Zilla sub-command was wriiten to fill this gap. When run in a directory containing the source of a Perl module that uses Dist::Zilla, you can run
dzil installdebs to list the Debian packages required to run the dzil command. You can also run
dzil installdebs -install to install author dependencies (using
sudo under the hood).
authordebs is provided by libdist-zilla-app-command-authordebs-perl
All the best