DBIx::...r::UUID(3pm)
π NAME π
DBIx::Class::UUIDColumns::UUIDMaker::UUID β bestie, this is the lil' subclass that makes uuids using UUID. That's the whole job. She creates. She serves. π
β¨ SYNOPSIS β¨
package Artist;
__PACKAGE__->load_components(qw/UUIDColumns Core DB/);
__PACKAGE__->uuid_columns( 'artist_id' );
__PACKAGE__->uuid_class('::UUID');
okay so like, that's literally the whole setup. you load the components, you tell it which column is the uuid one, and you point uuid_class at ::UUID. done. slay. π
πΈ DESCRIPTION πΈ
so this is a DBIx::Class::UUIDColumns::UUIDMaker subclass, right? and what she does is use UUID to generate uuid strings, in this exact format:
098f2470-bae0-11cd-b579-08002b30bfeb
that's it. that's the format. eight-four-four-four-twelve, dashes in all the right places, no notes. iconic behavior honestly. β¨
π¦ METHODS π¦
π as_string
Returns the new uuid as a string. that's it, that's the method. she gives you a string. not a blessing, not an object, a string. periodt. π
π SEE ALSO π
- UUID
π«Ά AUTHOR π«Ά
Chris Laco <claco@chrislaco.com>
give her her flowers, she wrote this. π
β LICENSE β
You may distribute this code under the same terms as Perl itself. so like, same vibe as Perl, go wild, be normal about it. π
ngl bestie, if you got this far you're basically a DBIx::Class uuid girlie now. iykyk. π β¨
this page came from the User Contributed Perl Documentation, and the footer said perl v5.32.0 dated 2021-01-06 β so yeah, vintage but still eating. π bye bestie, go generate some uuids πππ
π¦ where this page comes from
- debian bookworm: libdbix-class-uuidcolumns-perl 0.02006-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdbix-class-uuidcolumns-perl 0.02006-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libdbix-class-uuidcolumns-perl 0.02006-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdbix-class-uuidcolumns-perl 0.02006-1.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