Pinto:...tration(3pm)
π NAME π
Pinto::Schema::Result::Registration β bestie, this is literally the class that represents the relationship between a Package and a Stack. That's the whole vibe. It's a join-table baddie. π
β¨ VERSION β¨
version 0.14 β yes she's on 0.14, she's been through some things, she's thriving. π¦
π NAME (again, but make it official) π
Pinto::Schema::Result::Registration
okay so the manpage really does say NAME twice. Not a typo on my part, not me being extra (for once). It's giving "she introduced herself, then introduced herself again with her full government name." iconic. π
ποΈ TABLE: "registration" ποΈ
That's the table she lives in. One table. Her whole world. πΈ
π ACCESSORS π
these are her columns, her little properties, her whole personality. one bullet-point per attribute, all facts preserved, no notes:
π id
data_type: 'integer'
is_auto_increment: 1
is_nullable: 0
an integer, auto-incrementing, and it is not nullable. so you can't leave her on read, okay? π
π revision
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
an integer, it's a foreign key, and nope, not nullable. she points at something else and she's committed to it. π«Ά
π¦ package_name
data_type: 'text'
is_nullable: 0
text, not nullable. that's it, that's the whole description. straightforward queen. β¨
π¦ package
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
integer, foreign key, not nullable. yes there's both package_name and package, no I'm not going to explain why, the manpage doesn't, and I don't make the rules. π
ποΈ distribution
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
integer, foreign key, not nullable. another pointer, another bestie she's holding hands with. π
π is_pinned
data_type: 'boolean'
is_nullable: 0
boolean, not nullable. so it's true or it's false, there is no "u up?" in between. periodt. π
π PRIMARY KEY π
"id"
that's it. one primary key, she's decisive, she knows what she wants. slay. π
π UNIQUE CONSTRAINTS π
"revision_package_name_unique"
"revision""package_name"
so that combo is unique β you can't have the same revision and package_name pairing twice. the database said "we're not doing duplicates today bestie" and honestly? correct. π₯
π¦ RELATIONS π¦
these are her committed relationships (in the database sense, obviously). all three are belongs_to, she's not out here being messy:
distribution
- Type:
belongs_to - Related object:
Pinto::Schema::Result::Distribution
package
- Type:
belongs_to - Related object:
Pinto::Schema::Result::Package
revision
- Type:
belongs_to - Related object:
Pinto::Schema::Result::Revision
look at her. three belongs_tos, zero has_manys. she's the one who shows up, she's not the one who texts first. π
π§ Moose ROLES APPLIED π§
Pinto::Role::Schema::Result
just the one role, and she wears it beautifully. π
βοΈ AUTHOR βοΈ
Jeffrey Ryan Thalhammer <jeff@stratopan.com>
the icon who made her. we stan. πΈ
βοΈ COPYRIGHT AND LICENSE βοΈ
This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
okay so lowkey important: same terms as the Perl 5 programming language system itself. that's the license. don't be weird about it, bestie. π«Ά
and that's the whole page, no cap. this was Pinto:...tration(3pm) from the perl v5.40.1 crew, dated 2025-04-21. mwah, go build something cute with it. πβ¨π
π¦ where this page comes from
- debian trixie: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: pinto 0.14000-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