Test::S...::String(3)

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

πŸ’– NAME πŸ’–

Test::Stream::Compare::String β€” it compares 2 values as strings, bestie. That's the whole gig. ✨

This is a page from the Perl manual (user contributed docs, the people's docs fr fr).


πŸ₯² DEPRECATED πŸ₯²

Okay so this distribution is deprecated, and I need you to hear me when I say it. It's been replaced by Test2</>, Test2::Suite</>, and Test2::Workflow</>. So like… it's giving retirement era. πŸ‘‘

There's a whole conversion guide if you need to move your stuff over β€” check out Test::Stream::Manual::ToTest2. It'll walk you through it, no cap. 🫢


🌸 DESCRIPTION 🌸

So here's the vibe: this thing compares 2 items, and it does it after they've been stringified. So whatever you hand it, it gets turned into a string first, and then the comparison happens on the strings. πŸ¦‹

You can also use it to check that 2 strings are not equal β€” like, they better not match, periodt. πŸ’…

⚠️ Note: this will fail if the received value is undefined. It must be defined. No undef shenanigans allowed, sorry babe. 😭

πŸ” SOURCE πŸ”

The source code repository for Test::Stream lives right here:

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

Go peek, it's literally right there. 🌈


πŸ‘‘ MAINTAINERS πŸ‘‘

  • Chad Granum <exodist@cpan.org>

✨ AUTHORS ✨

  • Chad Granum <exodist@cpan.org>

(Yes bestie, same person β€” he's carrying this whole thing, main character energy fr. πŸ’œ)


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/


That's the whole page, gorgeous. Written for perl v5.42.0, dated 2025-07-25 β€” and that's the user contributed Perl documentation section signing off. Stay defined, stay stringified, and don't forget to migrate. Mwah. πŸ’‹πŸŽ€

πŸ“¦ where this page comes from