Dist::...Record(3pm)

πŸ“¦
version 2.002004 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 🫢


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