Dist::Zilla::Plugin::Prereqs::MatchInstalled::All - Upgrade ALL your dependencies to the ones you have installed.
version 1.001001
[Prereqs::MatchInstalled::All] ; upgrade_perl = 1 ; if you want to upgrade to your installed perl ; include these too if you don't want to force a perl upgrade indirectly. exclude = strict exclude = warnings
This is a special case of Dist::Zilla::Plugin::Prereqs::MatchInstalled that automatically upgrades all versions of all dependencies, unless asked not to.
Dist::Zilla::Plugin::Prereqs::MatchInstalled
Presently, there is one very large gotcha about using this module, in that it will upgrade everything, even things that don't make sense to upgrade.
For instance:
If you have a single dependency on your system you might use, which is locally patched, and locally patched in such a way the local version is more recent than any on CPAN, you should either
CPAN
This plugin is not very smart, and can't differentiate between modules that do exist on CPAN independent of Perl, and modules that don't.
For instance, if you use Autoprereqs, its very likely your distribution will add a dependency on either strict or warnings
Autoprereqs
strict
warnings
This module will ask your user to upgrade those versions to their latest versions, which will likely require them to upgrade their Perl installation to do so.
Which basically means for the mean time, either
exclude
This parameter can be specified multiple times, and each time should represent a single package string to exclude from version upgrades.
[Prereqs::MatchInstalled::All] exclude = foo exclude = bar
upgrade_perl
If specified, this will permit upgrades on the dependency on perl to the installed version.
perl
[Prereqs::MatchInstalled::All] upgrade_perl = 1
Note, this has no effect on the modules that may inherently be only available by upgrading Perl.
Default is false.
See "PITFALLS" for details.
_exclude_hash
_build__exclude_hash
_user_wants_excluded
_user_wants_upgrade_on
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::Prereqs::MatchInstalled::All, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::Prereqs::MatchInstalled::All
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Prereqs::MatchInstalled::All
For more information on module installation, please visit the detailed CPAN module installation guide.