Test::S...::Number(3)

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

πŸ’– Test::S...::Number(3) πŸ’–

okay bestie, welcome to Test::Stream::Compare::Number, a page straight out of the User Contributed Perl Documentation. pull up a chair, we're comparing numbers today πŸ“


✨ NAME ✨

Test::Stream::Compare::Number β€” compare 2 values as numbers πŸ”’


🚨 DEPRECATED 🚨

ngl this is the part where I hold your hand. this whole distribution is deprecated πŸ’€ in favor of Test2, Test2::Suite, and Test2::Workflow.

want the glow-up guide? the conversion steps live in Test::Stream::Manual::ToTest2. go read that, bestie, it's the move 🫢


🌸 DESCRIPTION 🌸

so what does this do? it's used to compare 2 numbers. that's it, that's the vibe. you can also check that 2 numbers are not the same, if you're feeling spicy ✨

Note: this will fail if the received value is undefined 😭 it must be a number, no exceptions.
Note: this will fail if the comparison generates a non-numeric value warning β€” and that warning will not be shown. why? because it has to get a number, periodt. the warning stays hidden because it would report to a useless line and filename, but the test diagnostics do show both values, so you're not totally left hanging πŸ‘‘

πŸ”₯ SOURCE πŸ”₯

the source code repository for Test::Stream lives right here, no cap:

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

πŸ‘‘ MAINTAINERS πŸ‘‘

  • Chad Granum <exodist@cpan.org>

πŸ’œ AUTHORS πŸ’œ

  • Chad Granum <exodist@cpan.org>

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 version shipped as part of perl v5.42.0, dated 2025-07-25, and yeah, it's filed under Test::S...::Number(3). slay, go forth and compare responsibly πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from