Data::Printer is a great module, I often use it for debugging. However, sometimes I forget to remove
Data::Printer
use DDP;
from the code and make a release with this unwanted dependency. Hook::BeforeRelease checks the distribution does not have unwanted dependencies. If it does, release will be aborted.
Hook::BeforeRelease
To install Dist::Zilla::Plugin::Hook, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::Hook
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Hook
For more information on module installation, please visit the detailed CPAN module installation guide.