Dist::...Record(3pm)
π Dist::Zilla::MetaProvides::ProvideRecord β but make it a group chat π
okay so bestie, welcome to Dist::Zilla::MetaProvides::ProvideRecord, the Data Management Record for MetaProvider::Provides Based Class π it's from the User Contributed Perl Documentation corner of the world, and it's here to hold onto your provides data like a lil keeper of secrets π
β¨ VERSION β¨
version 2.002004 β that's the one, no cap π
πΈ PUBLIC METHODS πΈ
π«Ά copy_into "( \%provides_list )"
okay so this one literally takes the referenced %provides_list and populates it with data from this Provide Record object. it's giving "pour the tea into the cup" energy π
this is called by the Dist::Zilla::Role::MetaProvider::Provider Role, so you're not the one driving here, the role is, and that's fine, we love a delegation moment β¨
and here's the thing bestie, this is very convenient if you have an array full of these objects, because then you can just do:
my %discovered;
for ( @array ) {
$_->copy_into( \%discovered );
}
and boom π₯ %discovered will be populated with relevant data. main character energy fr fr π
π ATTRIBUTES / PARAMETERS π
β version
See "ModVersion" in Dist::Zilla::MetaProvides::Types β go look, iykyk π
π¦ module
The String Name of a fully qualified module to be reported as included in the distribution. so like, the whole fancy name, not a nickname π
π file
The String Name of the file as to be reported in the distribution. the file, in distribution-reporting form, periodt β¨
π parent
A "ProviderObject" in Dist::Zilla::MetaProvides::Types, mostly to get Zilla information and accessors from Dist::Zilla::Role::MetaProvider::Provider. it's the parent, it's got the lore, it's got the accessors π
π AUTHOR π
Kent Fredric <kentnl@cpan.org> β iconic, we stan π«Ά
π COPYRIGHT AND LICENSE π
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. so yes, free, go wild, just respect the terms bestie π
and that's the whole vibe check, angel π« this was written up for perl v5.34.0, dated 2022-06-13, and it's Dist::...Record(3pm) β mwah, slay, go populate some hashes πΈπ§
π¦ where this page comes from
- debian bookworm: libdist-zilla-plugin-metaprovides-perl 2.002004-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdist-zilla-plugin-metaprovides-perl 2.002004-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdist-zilla-plugin-metaprovides-perl 2.002004-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdist-zilla-plugin-metaprovides-perl 2.002004-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdist-zilla-plugin-metaprovides-perl 2.002004-2 Β· 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