Dist::...gSlicer(3pm)
π Dist::Zilla::PluginBundle::ConfigSlicer π
aka Dist::...gSlicer(3pm) β the Perl doc you're reading rn, bestie π«Ά
okay so listen. you know how some plugin bundles are like "my config is my config, take it or leave it"? not on my watch. This one is a lil gremlin that wraps another bundle and edits its outfit mid-run. iconic behavior honestly π
β¨ NAME β¨
Dist::Zilla::PluginBundle::ConfigSlicer β Load another bundle and override its plugin configurations π
πΈ VERSION πΈ
version 0.202 β¨ (yes she's got a version, she's a real one)
π¦ SYNOPSIS π¦
so you drop this in your dist.ini and it just⦠works:
; in your dist.ini:
[@ConfigSlicer]
-bundle = @Classic
-remove = PodVersion
-remove = Manifest
option = for_classic
ManifestSkip.skipfile = something.weird
like. look at that. -bundle picks the bundle, -remove yanks stuff out, and then any leftover options get passed through. no cap π§
π DESCRIPTION π
fr fr, here's the tea: this plugin bundle wraps and modifies another plugin bundle. That's the whole bit. It's giving "middle manager but make it fashion."
It extends @Filter and additionally consumes Dist::Zilla::Role::PluginBundle::Config::Slicer so that any plugin options will be passed in. π
And the reason that matters?? so you can override the plugin configuration for any bundle that doesn't consume Dist::Zilla::Role::PluginBundle::Config::Slicer as if it did! πβ¨
That's it. That's the magic trick. Bestie gets a bundle that wasn't built for slicing, and this thing slices it anyway. ate and left no crumbs π
π SEE ALSO π
Dist::Zilla::PluginBundle::Filterπ¦Dist::Zilla::Role::PluginBundle::Config::Slicerπ
π AUTHOR π
Randy Stauner <rwstauner@cpan.org> β ty for your service, king π«‘
β COPYRIGHT AND LICENSE β
This software is copyright (c) 2011 by Randy Stauner.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π (free software stays free, periodt)
and that's the whole page, bestie π this lil doc was living under perl v5.34.0 and it's dated 2022-06-13 β shoutout to the User Contributed Perl Documentation crew, mwah ππ bye bye now, go slice some configs π
π¦ where this page comes from
- debian bookworm: libdist-zilla-config-slicer-perl 0.202-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdist-zilla-config-slicer-perl 0.202-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdist-zilla-config-slicer-perl 0.202-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdist-zilla-config-slicer-perl 0.202-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdist-zilla-config-slicer-perl 0.202-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms