Skipping some plugins in a Dist::Zilla Plugin Bundle
When using Plugin Bundles in Dist::Zilla you may want to skip loading some modules. This may be because you don't need that Plugin or because you want to use an alternative.
To skip a particular plugin in a plugin bundle you need to use a special plugin bundle called @Filter. This acts as a wrapper which loads the bundle that you specify but then filters out the plugin(s) that you specify.
For example, we want a static LICENSE file and not have it generated by Dist::Zilla:
dist.ini example for @Filter
name = your-module-name
author = your name <you@example.com>
license = Artistic_2_0
version = 0.03
[Prereqs]
My::Module = 0
[@Filter]
-bundle = @Basic
-remove = License
Written by Colin Keith
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Perl
Authors
janosgyerik
25.11K
Jean-Remy Duboc
12.22K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#