Test2::...e::Meta(3)
πΈ NAME πΈ
Test2::Compare::Meta β check library for meta-checks. Also hi bestie π«Ά, the page you're reading is Test2::...e::Meta(3) from User Contributed Perl Documentation, and it's lowkey iconic for meta-checks.
π¦ DESCRIPTION π¦
Okay so sometimes in a deep comparison you want to run extra checks against an item down the chain. This library is literally for that: it lets you write a check that verifies several attributes of an item. No cap, it's giving "one check, multiple vibes" β¨.
β¨ DEFINED CHECKS β¨
These are the defined checks, bestie π
π§Έ blessed
Lets you check that an item is blessed, and that it is blessed into the expected class. Two-for-one vibe check π .
π¦ reftype
Lets you check the reftype of the item. Periodt.
π isa
Lets you check if the item is an instance of the expected class. Iykyk.
π this
Lets you check the item itself. Main character energy fr fr.
π size
Lets you check the size of the item. For an arrayref this is the number of elements. For a hashref this is the number of keys. For everything else this is undef. That's the whole tea β.
π SOURCE π
The source code repository for Test2-Suite can be found at https://github.com/Test-More/test-more/. Go give it a star, 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 http://dev.perl.org/licenses/
Okay byeee π this page is Test2::...e::Meta(3) rendered from perl v5.42.0 and dated 2025-07-28. Mwah π.
π¦ where this page comes from
- opensuse-leap 16.0: perl-Test-Simple 1.302214-bp160.1.2 Β· Artistic-1.0 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