Test::S...Pattern(3)

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

πŸ’– Test::Stream::Compare::Pattern πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation for the module Test::Stream::Compare::Pattern β€” she's a little Perl gem, and we're gonna walk through her together, no cap. πŸŽ€


✨ NAME ✨

Test::Stream::Compare::Pattern β€” use a pattern to validate values in a deep comparison. literally that's her whole thing. πŸ¦‹


🚨 DEPRECATED 🚨

bestie. listen. this one's deprecated. 😭

This whole distribution is deprecated, and it's been replaced by Test2, Test2::Suite, and Test2::Workflow.

If you need to make the switch, there's a conversion guide waiting for you in Test::Stream::Manual::ToTest2. she'll hold your hand through it fr fr. 🫢


🌸 DESCRIPTION 🌸

So here's the vibe: this lets you use a regex to validate a value inside a deep comparison. ✨

the way that sometimes a value just needs to look right, and it doesn't actually need to be an exact match?? yeah. that's the moment. πŸ™ˆ

Classic example: a memory address. It's gonna change from run to run, so hardcoding it is giving chaos. but a pattern? a pattern ate. πŸ’…


🐚 SOURCE 🐚

The source code repository for Test::Stream lives right here, go be nosy:

http://github.com/Test-More/Test-Stream/

πŸ‘‘ MAINTAINERS πŸ‘‘

  • Chad Granum <exodist@cpan.org> β€” the icon holding it down. πŸ‘‘

🌈 AUTHORS 🌈

  • Chad Granum <exodist@cpan.org> β€” yes, same person, she's the whole main character here. πŸ’œ

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 perl v5.42.0, dated 2025-07-25, from the User Contributed Perl Documentation β€” mwah, take care of her, and maybe go check out Test2 instead. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from