Search...::Class(3pm)
π Search...::Class β the perl manual page, bestie edition π
okay so this is a page from the User Contributed Perl Documentation (yes that's the manual name, and yes it's giving β¨officialβ¨). It's Search...::Class(3pm) and it's about making class-based GIN queries. Stay with me, it's cute, I promise. π«Ά
β¨ NAME β¨
Search::GIN::Query::Class β Create class-based GIN queries. that's it, that's the whole name section, and honestly? iconic. π
πΈ VERSION πΈ
version 0.11 β that's the version, no cap.
π SYNOPSIS π
here's the vibe, copy-paste ready:
use Search::GIN::Query::Class;
my $query = Search::GIN::Query::Class->new(
class => 'Person',
);
look at her. four lines. a queen. π
π¦ DESCRIPTION π¦
So what does this actually do, bestie? It creates a class-based GIN query that can be used to search records in a storage. fr fr, that's the whole job.
It's a ready-to-use query β like, no assembly required β and it uses class definitions to search through the storage. Specifically, it uses class, does and blessed to do the searching. those three are the main characters here. π
π METHODS/SUBROUTINES π
π new
Creates a new query. that's it. new query, new me, new era. β¨
π ATTRIBUTES π
π class
The class of the object you want to find. π
my $query = Search::GIN::Query::Class->new(
class => 'Person',
);
π does
A role consumed by the object you want to find. (yes, consumed, like it ate that role and now it's part of its whole personality.) π
my $query = Search::GIN::Query::Class->new(
does => 'TheMonkey',
);
π blessed
The name of the package that the object is blessed into. very bless core of it, very perl of it. π
my $query = Search::GIN::Query::Class->new(
blessed => 'Person',
);
π AUTHOR π
XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org> β credit where credit is due, periodt. π«Ά
β COPYRIGHT AND LICENSE β
This software is copyright (c) 2008 by XXXX XXX'XX (Yuval Kogman), Infinity Interactive. (that's Infinity Interactive, not just regular Interactive β infinity, bestie. slay.)
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 like, go forth and share. πΈ
π§ and that's the whole page! every flag, every attribute, every author, every license line β all present and accounted for, no skips, no shortcuts. π―
perl v5.34.0 Β· 2022-06-17 β that's the version and date this page was generated, so shoutout to that build, and byeeee bestie, go write some queries πβ¨
π¦ where this page comes from
- debian bookworm: libsearch-gin-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libsearch-gin-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libsearch-gin-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libsearch-gin-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libsearch-gin-perl 0.11-3 Β· 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