TEST2::COMPARE::PATTERN(3perl)

πŸ’– NAME πŸ’–

Test2::Compare::Pattern β€” bestie, this is the glow-up that lets you validate a value in a deep comparison using a pattern. Regex-coded queen energy. πŸ‘‘


✨ DESCRIPTION ✨

okay so picture this: you're doing a deep comparison, and one of the values is being ✨extra✨. This module lets you roll up with a regex and be like "girl, you just gotta look right, I don't need your whole life story."

Sometimes a value just needs to look right β€” it doesn't need to be exact, bestie. Fr fr.

The iconic example? A memory address 🧠 that might change from run to run. Like, she's a different girl every time you see her, but she still needs to be shaped like a memory address. And Test2::Compare::Pattern is the vibe check that makes sure of it. πŸ’…


🌈 SOURCE 🌈

The source code repository for Test2-Suite can be found at:

https://github.com/Test-More/test-more/

go πŸ‘ look πŸ‘ at πŸ‘ it πŸ‘ β€” the source is right there, no gatekeeping here, iykyk 🫢


πŸŽ€ MAINTAINERS πŸŽ€

  • Chad Granum <exodist@cpan.org>

(the main character of this whole operation, periodt πŸ’œ)


πŸ¦‹ 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/


ok that's the whole page bestie, no notes, she ate and left zero crumbs πŸ’€βœ¨

That's the teardown from the perl v5.44.0 release, dated 2026-10-17 β€” straight out of the Perl Programmers Reference Guide. mwah, go write some tests πŸŒΈπŸ’–

πŸ“¦ where this page comes from
  • arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms