ExtUtil...akeMaker(3)

πŸ’– NAME πŸ’–

okay so this is ExtUtil...akeMaker(3), coming at you from the User Contributed Perl Documentation, and it's literally the manual for ExtUtils::Config::MakeMaker β€” a ExtUtils::Config compatible wrapper for ExtUtils::MakeMaker's configuration. iconic behavior, no cap ✨


✨ VERSION ✨

version 0.010 β€” tiny version number, big main character energy πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

my $config = ExtUtils::Config::MakeMaker->new($makemaker);

🌸 DESCRIPTION 🌸

So this object wraps ExtUtils::MakeMaker's whole idea of configuration in an ExtUtils::Config compatible interface. Obsessed with the compatibility slay. πŸ’…

That means if you pass a configuration argument to or in Makefile.PL (e.g. OPTIMIZE=-O3), it will show up in the config object (e.g. "$config-"get('optimize')>). iykyk πŸ¦‹

πŸ‘‘ METHODS πŸ‘‘

🌟 new($makemaker)

This creates a new ExtUtils::Config::MakeMaker object from a MakeMaker object. Fresh object, fresh vibe check. ✨

🌟 get($key)

Get the value of $key. If it's not overridden, it will return the value in %Config. Simple, clean, ate. πŸ’–

🌟 exists($key)

Tests for the existence of $key. Does it exist? The method said yes. 🫢

🌟 values_set()

Get a hashref of all overridden values. All the little custom bits, gathered together. πŸŽ€

🌟 all_config()

Get a hashref of the complete configuration, including overrides. The whole config picture, bestie. 🌈

🌟 serialize()

This method serializes the object to some kind of string. This can be useful for various caching purposes. Stringified for the caching girlies. πŸ’…

🌟 materialize()

This turns this object into an actual ExtUtils::Config object. Manifesting a real config object, fr fr. ✨

🌟 but(%config)

This returns a ExtUtils::Config object based on the current one but with the given entries overriden. If any value is undef it will revert to the official %Config value instead. Plot twist: undef sends it back to the official config. 😭

🫢 AUTHORS 🫢

  • Ken Williams <kwilliams@cpan.org> β€” author, icon, legend πŸ’–
  • Leon Timmermans <leont@cpan.org> β€” author, icon, legend πŸ¦‹

This software is copyright (c) 2006 by Ken Williams, Leon Timmermans. Respect the OGs. πŸ‘‘

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, free vibes. 🌸


okay bye bestie, this page is from perl v5.42.0 and dated 2024-08-17 β€” stay slaying πŸ’…βœ¨

πŸ“¦ where this page comes from