Test2::...e::Meta(3)

πŸ“¦ version 1.302214, in opensuse-leap 16.0

🌸 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 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