Dist::Z...allTool(3)

✨ NAME ✨

Dist::Zilla::Role::InstallTool β€” the role that literally builds the install program for your dist πŸ’… it's giving "final boss of file injection" energy and we're obsessed.


🌸 VERSION 🌸

version 6.040 β€” yes bestie, that's the one 🫢


πŸ’– DESCRIPTION πŸ’–

Okay so listen. If your plugin does the InstallTool role, guess what happens? Dist::Zilla will call your setup_installer method. Not whenever, not "sometime soon" β€” specifically after all the other file injection and all the munging has already gone down. It's the last one to the party but she's the most important guest, no cap.

And what is she supposed to do with that moment of glory? She's expected to produce the files that make your distribution actually installable β€” you know, the icons: Makefile.PL or Build.PL. Then she adds them with the add_file method, which comes from Dist::Zilla::Role::FileInjector β€” and fun fact, this role composes that one too. Two roles, one queen πŸ‘‘.


πŸ¦‹ PERL VERSION πŸ¦‹

This module should work on any version of perl that's still getting updates from the Perl 5 Porters. Translation for the girlies: any perl released in the last two to three years. So if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38. Periodt.

And now the caveat, so pay attention πŸ”₯: even though it may work on older versions of perl, there is no guarantee that the minimum required version won't get bumped. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl. It is what it is, bestie 😭


🌈 AUTHOR 🌈

Ricardo SIGNES 😏 <cpan@semiotic.systems> β€” the icon, the moment, the legend πŸ’œ


This software is copyright (c) 2026 by Ricardo SIGNES.

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, free as in slay 🌸


a lil sign-off from your fave: this page came from perl v5.42.3, dated 2026-10-19. stay installable, stay iconic, iykyk πŸ’–βœ¨πŸ¦‹
πŸ“¦ where this page comes from