DBIx::...Fields(3pm)
πΈ NAME πΈ
DBIx::Class::Factory::Fields β the fields situation for the DBIx::Class::Factory class π
okay so real talk, this page lives in the User Contributed Perl Documentation section of the manual (section 3pm, perl girlies know), and it's short but it's mighty. let's get into it π«Ά
β¨ DESCRIPTION β¨
So here's the tea, bestie: every single callback you use over in DBIx::Class::Factory gets handed a DBIx::Class::Factory::Fields instance as an argument. that's it. that's the whole vibe. it's the little object that shows up in your callback like "hi bestie, here are your fields" ππ
π METHODS π
newβ the Constructor, obviously. and likeβ¦ you shouldn't call it explicitly, okay? it's not for you, it's an internal thing. the factory handles it. hands off πallβ Returns a hashref with all the fields that are not excluded. so like, everything that made the cut β¨getβ Gets the value of the field. one field, one value, no drama:
$fields->get('name');
look at that. iconic. π
π AUTHOR π
Vadim Pushtaev, "pushtaev@cpan.org" β the icon, the legend, the moment π
π BUGS AND FEATURES π
ngl, bugs are possible π and feature requests are welcome π₯³ so like, write me as soon as possible, fr fr. don't be shy, the inbox is open π«Ά
π LICENSE AND COPYRIGHT π
Copyright 2015 Vadim Pushtaev.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. free software, as it should be π
and that's a wrap bestie!! this whole thing was perl v5.36.0, dated 2023-02-14 β valentine's day drop, how romantic π anyway go read your callbacks, mwah ππ
π¦ where this page comes from
- debian trixie: libdbix-class-factory-perl 0.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdbix-class-factory-perl 0.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdbix-class-factory-perl 0.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdbix-class-factory-perl 0.04-2 Β· 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