Test2::...reakage(3pm)
π NAME π
Test2::API::Breakage β literally the tea on what breaks at what version, bestie. Part of the Perl Programmers Reference Guide, and honestly it's giving public-service-announcement energy.
β¨ DESCRIPTION β¨
Okay so picture this: this module hands you whole lists of modules that are broken β or were broken in the past β when you upgrade Test::Builder to use Test2. It's basically the receipts. The historical record. The "who got hurt and when" doc. π«Ά
π₯ FUNCTIONS π₯
These can be imported, or called as methods on the class. Both ways, bestie, whatever vibes with your codebase.
πΈ %mod_ver = upgrade_suggested()
πΈ %mod_ver = Test2::API::Breakage->upgrade_suggested()
This returns key/value pairs. The key is the module name, the value is the version number. And here's the rule: if the installed version of the module is at or below the specified one, then an upgrade would be a good idea β but not strictly necessary. So likeβ¦ a suggestion. A gentle nudge. Not a drill. π
β %mod_ver = upgrade_required()
β %mod_ver = Test2::API::Breakage->upgrade_required()
This returns key/value pairs. The key is the module name, the value is the version number. If the installed version of the module is at or below the specified one, then an upgrade is required for the module to work properly. Yeah. This one's the real deal β no cap, you gotta upgrade. π₯
π¦ %mod_ver = known_broken()
π¦ %mod_ver = Test2::API::Breakage->known_broken()
This returns key/value pairs. The key is the module name, the value is the version number. If the installed version of the module is at or below the specified one, then the module will not work. A newer version may work, but that is not tested or verified. So likeβ¦ proceed with caution, or don't proceed at all, honestly. π
π SOURCE π
The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>. Go star it, bestie. β
π MAINTAINERS π
Chad Granum <exodist@cpan.org>
π AUTHORS π
Chad Granum <exodist@cpan.org>
π COPYRIGHT π
Copyright Chad Granum <exodist@cpan.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <https://dev.perl.org/licenses/>
okay that's the whole page, mwah π β this one's fromperl v5.42.3, dated2026-11-03, and it'sTest2::API::Breakage(3pm)all the way down. slay π§β¨
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· 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