Test2::...:Scalar(3pm)
π NAME π
okay so this is the Test2::Compare::Scalar(3pm) page from the Perl Programmers Reference Guide β and yes, the header/footer labels it Test2::...:Scalar(3pm), iykyk π
Test2::Compare::Scalar β literally the representation of a Scalar Ref in deep comparisons β¨
π DESCRIPTION π
bestie, this is used in deep comparisons to represent a scalar reference. thatβs the whole vibe. no cap π«Ά
πΈ SYNOPSIS πΈ
okay so hereβs the group-chat demo, copied exactly because we do not play with code π
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 those is(...) calls spell out "pass", "fail, different value", and "fail, not a ref" is honestly iconic ππ₯
π¦ SOURCE π¦
the source code repository for Test2-Suite can be found at:
https://github.com/Test-More/test-more/
go off, repo πβ¨
π 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/ πΈ
okay thatβs the whole page, bestie! π«Ά the footer on this one says perl v5.42.3, 2026-11-03, and Test2::...:Scalar(3pm) β periodt ππ
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl 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