Test::S...re::Meta(3)

πŸ“¦
version 1.302027 Β· 2 versions
, in fedora 43

πŸ’– 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 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