Test::S...re::Meta(3)
π Test::Stream::Compare::Meta(3) π
okay bestie, so this is a page from the User Contributed Perl Documentation and it's literally called Test::Stream::Compare::Meta β aka the "Check library for meta-checks". Yes the name has an ellipsis in it in the header (Test::S...re::Meta(3)) because terminal headers are dramatic like that. π
β¨ NAME β¨
Test::Stream::Compare::Meta β Check library for meta-checks. that's the whole name, she's short and she knows it π
π¨ DEPRECATED π¨
bestie. sit down. this one is deprecated. no cap.
This distribution is deprecated in favor of Test2, Test2::Suite, and Test2::Workflow.
If you need a conversion guide (and you probably do, fr fr), go look at Test::Stream::Manual::ToTest2. π¦
πΈ DESCRIPTION πΈ
so picture this: you're doing a deep comparison, right, and somewhere down the chain you're like "wait, I don't just want to compare this item, I want to run extra checks on it." that's the vibe.
This library lets you write a check that verifies several attributes of an item. not one, not two, several. it's giving thorough. it's giving main character energy. β¨
π DEFINED CHECKS π
here's the lineup, no skips, every single one:
blessedβ lets you check that an item is blessed, and that it is blessed into the expected class. so like, not just "yes it's an object" but "yes it's that object". πreftypeβ lets you check the reftype of the item. that's it, that's the check.thisβ lets you check the item itself. yes bestie, the whole entire item. πsizeβ lets you check the size of the item, and the definition of "size" depends on what you're holding:- for an arrayref this is the number of elements
- for a hashref this is the number of keys
- for everything else this is
undefπ
π SOURCE π
The source code repository for Test::Stream can be found at http://github.com/Test-More/Test-Stream/. go star it, go read it, go be nosy, it's fine. π«Ά
π§ MAINTAINERS π§
- Chad Granum
<exodist@cpan.org>
π AUTHORS π
- Chad Granum
<exodist@cpan.org>
(yes, same person, he's doing both jobs, iconic honestly π)
π COPYRIGHT π
Copyright 2015 Chad Granum <exodist7@gmail.com>.
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/
and that's the whole page, bestie!! π this was pulled from perl v5.42.0, dated 2025-07-25, and it lives under the Test::S...re::Meta(3) header in the User Contributed Perl Documentation. mwah π stay deprecated, stay slay. ππβ
π¦ where this page comes from
- fedora 43: perl-Test-Stream 1.302027-35.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms