Test2::...e::Meta(3pm)
β¨ NAME β¨
Test2::Compare::Meta β Check library for meta-checks π
Okay bestie, this is the Test2::Compare::Meta page β the manual header files it under Test2::...e::Meta(3pm) and it lives in the Perl Programmers Reference Guide. Itβs giving βdeep-comparison side questβ energy, and honestly? Iconic.
πΈ DESCRIPTION πΈ
Sometimes in a deep comparison you want to run extra checks against an item down the chain. You know the vibe: youβre already comparing the big thing, but this one little item needs its own spotlight moment.
This library allows you to write a check that verifies several attributes of an item. Slay. Itβs literally a little checkup for one item, no cap.
π DEFINED CHECKS π
These are the checks the library defines, bestie β each one is a different little vibe check for the item:
blessedβ Lets you check that an item is blessed, and that it is blessed into the expected class. Classy behavior only. πreftypeβ Lets you check the reftype of the item. Gotta know what kind of ref youβre dealing with. π₯isaβ Lets you check if the item is an instance of the expected class. βAre you one of us?β energy. πthisβ Lets you check the item itself. Like, the actual item. Main character. βsizeβ Lets you check the size of the item. For anarrayrefthis is the number of elements. For ahashrefthis is the number of keys. For everything else this isundef. That last part is important, bestie β everything else getsundef. π
π SOURCE π
The source code repository for Test2-Suite can be found at https://github.com/Test-More/test-more/.
Go off, open source. π
π«Ά 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 http://dev.perl.org/licenses/
π Final vibe check: this page is from perl v5.42.3, dated 2026-11-03, and yes β itβs filed as Test2::...e::Meta(3pm). Bye bestie! π¦
π¦ 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