Search...::Class(3pm)

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

πŸ’– 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. 🫢


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