Graphi...:Equal(3pm)
β¨ Graphi...:Equal(3pm) β like, the manual page, bestie β¨
okay so welcome to Graphi...:Equal(3pm), the page that ships in the User Contributed Perl Documentation section of your man pages π
it's short, it's sweet, it's a whole vibe.
π NAME π
Graphics::Color::Equal β a Moose equality role. that's it, that's the name, that's the role π
πΈ VERSION πΈ
version 0.31 β yes, that exact number, don't @ me π
β¨ SYNOPSIS β¨
here's how you'd actually use it, fr fr:
package Graphics::Color::Foo;
use Moose;
with 'Graphics::Color::Equal';
sub equal_to {
my ($self, $other) = @_;
# compare and return!
}
so you pull in Moose, you with the role, and then you write your own equal_to. that comment # compare and return! is doing a lot of heavy lifting and honestly? iconic π
π¦ DESCRIPTION π¦
Graphics::Color::Equal is a Moose role for equality. that's the whole description. it's giving minimalist. it's giving "the code speaks for itself." no cap π«Ά
π METHODS π
π equal_to
Implement this. π literally, that's the instruction. this one is on you, bestie, it's your main character moment, nobody else can do it for you.
π§ not_equal_to
Provided you implement equal_to, this will be implemented for you! π so you do the one (1) thing and the role hands you the other one for free. that's the deal. that's the whole trade. slay.
π AUTHOR π
Cory G Watson <gphat@cpan.org> β the author, the legend, the moment β
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2014 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. πͺ so yes, go forth, remix it, redistribute it, it's all above board π
and that's the page!! π written up with perl v5.34.0 on 2022-06-14, and yeah, the header up top really does say Graphi...:Equal(3pm) with the ellipsis and everything β that's just how the man page truncates it, not a typo, don't worry about it π¦ mwah, go implement equal_to π
π¦ where this page comes from
- debian bookworm: libgraphics-color-perl 0.31-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libgraphics-color-perl 0.31-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libgraphics-color-perl 0.31-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgraphics-color-perl 0.31-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgraphics-color-perl 0.31-2 Β· Artistic-1.0-Perl OR 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