Graphi...:Equal(3pm)

πŸ“¦
version 0.31 Β· 2 versions
  • 0.31 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.31 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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 ⭐


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