DBIx::...:Parent(3pm)
π DBIx::Class::Helper::Schema::Verifier::Parent π
okay bestie, welcome to the DBIx::...:Parent(3pm) page, aka the User Contributed Perl Documentation glow-up of DBIx::Class::Helper::Schema::Verifier::Parent. pull up a chair, grab a boba, we're doing schema hygiene today π§β¨
πΈ NAME πΈ
DBIx::Class::Helper::Schema::Verifier::Parent β it verifies that your Results and ResultSets have the correct base class. that's it, that's the whole personality, and honestly? iconic. π
β¨ SYNOPSIS β¨
here's the vibe, copy-paste it into your schema and thank me later:
package MyApp::Schema;
__PACKAGE__->load_components('Helper::Schema::Verifier::Parent');
sub base_result { 'MyApp::Schema::Result' }
sub base_resultset { 'MyApp::Schema::ResultSet' }
see how you just declare your base classes with those two little subs? no cap, that's the whole setup. π
π¦ DESCRIPTION π¦
so like, DBIx::Class::Helper::Schema::Verifier::Parent verifies that all of your results and resultsets use the base class that you specify. π
that's it. that's the tea. every result and every resultset gets the vibe check, and if it's not inheriting from the base class you told it to inherit from, it's giving π© instead of π. literally the friend who checks your outfit before you leave the house, except it's checking your inheritance chain. periodt. β¨
π AUTHOR π
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
(hi fREW, you ate with this one π«Ά)
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2024 by Arthur Axel "fREW" Schmidt.
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 bestie, it's free, it's open, it's generous, it's the communal closet of software licensing π
ngl this page is short but it's doing exactly what it says on the tin. no filler, no side quests, just base-class verification main character energy π
and that's a wrap!! π this lil beauty came to you as perl v5.40.0, dated 2024-11-16, filed under DBIx::...:Parent(3pm) in the User Contributed Perl Documentation β mwah, slay, bye bestie π
β¨π¦
π¦ where this page comes from
- debian trixie: libdbix-class-helpers-perl 2.037000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdbix-class-helpers-perl 2.037000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdbix-class-helpers-perl 2.037000-1 Β· 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