Test2::...:Scalar(3)
π NAME π
okay so bestie, this is the Test2::Compare::Scalar manpage from the User Contributed Perl Documentation β iykyk π
Test2::Compare::Scalarβ Representation of a Scalar Ref in deep comparisons β¨
πΈ DESCRIPTION πΈ
this one is lowkey used in deep comparisons to represent a scalar reference, periodt. it's giving exactly that, no cap. π«Ά
β¨ SYNOPSIS β¨
here's the code, bestie β keep it exactly like this:
my $sr = Test2::Compare::Scalar->new(item => 'foo');
is([\'foo'], $sr, "pass");
is([\'bar'], $sr, "fail, different value");
is(['foo'], $sr, "fail, not a ref");
the way that first one is literally the pass, the second is the fail because different value, and the third is the fail because not a ref... ππ
π¦ SOURCE π¦
the source code repository for Test2-Suite can be found at https://github.com/Test-More/test-more/ β obsessed π₯
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>π
π AUTHORS π
- Chad Granum
<exodist@cpan.org>π
π COPYRIGHT π
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/ π¦
that's the whole page, bestie β iconic, no notes, fr fr. it's from perl v5.42.0 dated 2025-07-28, and the footer is repping Test2::...:Scalar(3). π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Test-Simple 1.302214-bp160.1.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms