App::P...irDist(3pm)
π App::Prove::Plugin::ShareDirDist β bestie edition π
okay so this is a prove plugin (yes, like from perl's manual, App::Prove::Plugin::ShareDirDist) that plays nice with File::ShareDir::Dist. it's a whole little collaboration, iykyk. π«Ά
it lives in the Perl 5 user-contributed documentation, and the version is 0.07. tiny number, big vibes. β¨
β¨ SYNOPSIS β¨
like, literally just:
% prove -PShareDirDist -lv t
that's it. that's the whole entrance. π
πΈ DESCRIPTION πΈ
okay so here's the tea. this plugin sets the override for File::ShareDir::Dist, and it figures out what that override should be based on the name of the current directory β but only if there's a share directory hanging out in there. no share dir? no override. simple as that. π¦
and it assumes the directory name is the same as the dist name. which... lowkey might not be the case?? it's not guaranteed bestie, it's just what happened to be the convention that the author uses. so like, it's giving "works for me" energy, not "works for everyone" energy. no cap. π
fr fr, don't come for this plugin when your directory isn't named after your dist β it literally told you it assumes that.
π SEE ALSO π
proveApp::ProveTest::Harness
go read those too, they're iconic. β
π AUTHOR π
Author: Graham Ollis <plicease@cpan.org>
Contributors:
- Yanick Champoux (yanick)
two absolute legends, periodt. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2017,2018 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
so like, go off, remix it, share it, whatever β same terms as Perl 5 itself. slay. π§
and that's the whole page, bestie!! this lil writeup came from the perl v5.40.1 docs, dated 2025-11-21, and it's the App::P...irDist(3pm) manual page β yeah they truncated the name in the header, we don't talk about it π mwah, go run some tests π
π¦ where this page comes from
- ubuntu resolute: libfile-sharedir-dist-perl 0.07-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libfile-sharedir-dist-perl 0.07-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms