Module...MetaYml(3pm)

πŸ’– Module::Install::TrustMetaYml β€” the Module...MetaYml(3pm) page, but make it cute πŸ’–

okay bestie, gather round, because this little Module::Install plugin is lowkey the most relatable module on the CPAN. it trusts. that's it. that's the whole personality. 🌸


✨ NAME ✨

Module::Install::TrustMetaYml β€” she trusts the dependency list in META.yml. full faith, no questions, no cap. 🫢


✨ SYNOPSIS ✨

inside your Makefile.PL, you just say:

trust_meta_yml;

and that's it. one line. iconic behaviour honestly. πŸ’…


✨ DESCRIPTION ✨

so here's the tea, bestie: CPAN does not trust the list of dependencies that live in META.yml for a module. nope. not even a little. πŸ™ˆ

instead, CPAN expects Makefile.PL to actually run on the computer where the package is being installed, and to generate its own list of dependencies. that freshly-generated list is called MYMETA.yml or MYMETA.json.

this module is a Module::Install plugin, and what it does is generate MYMETA.yml by simply passing through the dependencies from META.yml. that's the whole move. straightforward. direct. no notes. ✨

also, it does nothing when you run it from the module author's development copy. like, it just sits there being a vibe. πŸ¦‹

the module defines two functions, and they're aliases for each other, so pick your fave:

  • trust_meta_yml
  • trust_meta_yaml

same energy, different spelling. both slay. πŸ’œ


✨ BUGS ✨

found a bug? 😭 please report it here, the humans want to know:

<http://rt.cpan.org/Dist/Display.html?Queue=Module-Install-TrustMetaYml>


✨ SEE ALSO ✨

go give these a little look if you're curious:

  • Module::Install
  • Module::Package::RDF

✨ AUTHOR ✨

Toby Inkster <tobyink@cpan.org>. πŸŽ€


✨ CREDITS ✨

big shoutout to Chris Williams (BINGOS), Ingy dΓΆt Net (INGY), and Florian Ragwitz (FLORA) for explaining the whole role of MYMETA.json and helping figure out why mine weren't working. real ones. genuinely. πŸ‘‘


This software is copyright (c) 2011-2012 by Toby Inkster.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. 🧚


✨ DISCLAIMER OF WARRANTIES ✨

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

translation bestie: no promises, no take-backs, no warranty. πŸ’€ but she's still cute.


and that's the whole page!! brought to you by perl v5.26.1, dated 2018-04-22, mwah πŸ’–βœ¨

πŸ“¦ where this page comes from