Dist::...hareDir(3pm)
π¦ NAME π¦
Dist::Build::ShareDir β okay bestie, this is the sharedir support for Dist::Build. That's the whole vibe π
β VERSION β
version 0.028 β yes it's giving specific, we stan a numbered release β¨
π SYNOPSIS π
Here's the whole thing, copy it exactly, no cap:
load_extension("Dist::Build::ShareDir");
dist_sharedir('share', 'Foo-Bar');
module_sharedir('foo', 'Foo::Bar');
π DESCRIPTION π
So this Dist::Build extension implements sharedirs. Fr fr that's its whole job π«Ά
It does not take any arguments at loading time β like, none, zero, nothing, don't even try π β and it exports two functions to the planner. Two. Iconic.
πΈ dist_sharedir($dir, $distribution) πΈ
This marks $dir as the source sharedir for the distribution $distribution.
And if $distribution isn't given? It defaults to the "distribution" of the planner. Slay, sensible defaults π
π§ module_sharedir($dir, $module_name) π§
This marks $dir as the source sharedir for the module $module_name.
If $module_name isn't given, it defaults to the "main_module" of the planner. Look at that, matching energy β¨
π AUTHOR π
Leon Timmermans <fawaka@gmail.com> β the main character who made this happen π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2024 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 software, free vibes, periodt π
ngl bestie, that's genuinely the entire page β short and sweet, just like a good group chat message π
Okay and the boring-but-important bits so you have them: this one's from the User Contributed Perl Documentation set, runs on perl v5.40.1, dated 2026-03-21, and lives at Dist::Build::ShareDir(3pm) β mwah, go build something cute ππ
π¦ where this page comes from
- ubuntu stonking: libdist-build-perl 0.028-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms