Search...ibutes(3pm)
π Search::GIN::Query::Attributes π
okay bestie, so this is a page from the User Contributed Perl Documentation (the 3pm girlies know π
), and it's literally all about making attribute-based GIN queries. yes that's a mouthful. yes it's iconic. let's get into it π«Ά
β¨ NAME β¨
Search::GIN::Query::Attributes β no cap, it creates attributes-based GIN queries π
πΈ VERSION πΈ
version 0.11 β that's the one, that's the version, periodt π
π¦ SYNOPSIS π¦
the vibe check, in code form:
use Search::GIN::Query::Attributes;
my $query = Search::GIN::Query::Attributes->new(
attributes => {
name => 'Homer',
},
);
that's it. that's the whole flex. slay β¨
π DESCRIPTION π
so what it does is it creates an attributes-based GIN query that you can use to search records in a storage. lowkey that's the entire plot π
it's a ready-to-use query β no assembly required, no IKEA moment β and it uses an object's attributes to search through the storage. main character energy fr fr π
π METHODS/SUBROUTINES π
π§ new
creates a new query. that's it, that's the job, and she does it flawlessly π
π ATTRIBUTES π
β attributes
the attributes of the object you want to find π like, tell her what you're looking for and she'll go get it.
my $query = Search::GIN::Query::Attributes->new(
attributes => {
name => 'Homer',
city => 'Springfield',
},
);
see how we're hunting for a Homer who lives in Springfield? that's the move. obsessed π«Ά
π AUTHOR π
XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org> β the legend behind all of this β¨
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2008 by XXXX XXX'XX (Yuval Kogman), Infinity Interactive.
and it's free software β you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so go off, bestie, it's yours to play with πΈ
reminder that this page was rendered by perl v5.34.0 on 2022-06-17 β so if you're reading this from the future, hi, ily, the facts still hold π
okay that's the whole page, go forth and query, mwah π β¨π¦
π¦ 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