Dist::...ldTiny(3pm)

πŸ“¦
version 0.020 Β· 6 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– Dist::Zilla::Plugin::ModuleBuildTiny πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation, and it's literally all about Dist::Zilla::Plugin::ModuleBuildTiny β€” say that five times fast, I dare you 🫢


✨ NAME ✨

Dist::Zilla::Plugin::ModuleBuildTiny β€” it builds a Build.PL that uses Module::Build::Tiny. that's the whole gig, and it does it flawlessly, no cap πŸ’…


🌸 VERSION 🌸

version 0.020 β€” yes, she's specific about it ⭐


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically this plugin creates a Build.PL for installing your dist using Module::Build::Tiny. That's it. That's the mission. It's giving "I do one thing and I do it well" main character energy πŸ‘‘


πŸŽ€ ATTRIBUTES πŸŽ€

πŸ’œ version

Optional, babes. You can specify the minimum version of Module::Build::Tiny you wanna depend on.

If you don't say anything, it defaults to whatever version gets determined by version_method. So like, it figures it out for you. iconic.

πŸ’œ version_method

This one decides how the default minimum perl gets detected. Two possible values, pick your fighter:

  • installed β€” this gives you the version installed on the author's perl installation. like, your actual machine, right now, fr fr.
  • conservative β€” this returns a heuristically determined minimum version of MBT. she's being careful, she's being safe 🧚

πŸ’œ minimum_perl

Optional ✨ β€” specify the minimum version of perl to require in the Build.PL.

Normally though? This gets taken from dzil's prereq metadata. so it already knows, ngl.

πŸ’œ static

🚨 bestie STOP. This is an option to set the HIGHLY EXPERIMENTAL x_static_install metadata field. DO NOT USE THIS OPTION if you are not involved in its testing with the Perl Toolchain Gang. I'm so serious right now. 😭

It has three possible values:

  • no β€” no extra metadata is added. This is the default setting. boring but safe, we love her for it πŸ’–
  • yes β€” sets x_static_install = 1 in metadata. going for it, no thoughts, head empty ✨
  • auto β€” sets x_static_install = 1 in metadata if the distribution appears to be compatible. presently, only the existence of .PL and .xs files are checked. she's doing a vibe check on your files πŸ”

A line of code which is included near the top of Build.PL. Can be used more than once. stack 'em up, bestie πŸ₯ž

A line of code which is included at the bottom of Build.PL. Can be used more than once. yes, also stackable 🌈

πŸ’œ delimiter

A string β€” usually a single character β€” which is stripped from the beginning of all header and footer lines.

why tho? because the INI file format strips all leading whitespace from option values, so putting this character at the front lets you use leading whitespace in an option string. super helpful for formatting your Build.PLs, but honestly a nice thing to have whenever you're inserting any block of code. the way that this solves a problem you didn't even know you had 😌


πŸ‘‘ AUTHOR πŸ‘‘

Leon Timmermans <fawaka@gmail.com>


This software is copyright (c) 2011 by Leon Timmermans.

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 as in freedom, periodt πŸ’…


and that's the whole page, bestie 🫢 this was Dist::Zilla::Plugin::ModuleBuildTiny, served up from perl v5.40.1, dated 2025-05-17, part of the User Contributed Perl Documentation. go build something cute with it πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from