DBIx::...:Random(3pm)
π NAME π
DBIx::Class::UUIDColumns::UUIDMaker::UUID::Random β bestie, it makes uuids using UUID::Random β¨
(and yes, that's the whole name, it's giving "my parents gave me nine middle names" energy, we love a long title π )
π¦ SYNOPSIS π¦
okay so here's the whole vibe, copy-paste it exactly:
package Artist;
__PACKAGE__->load_components(qw/UUIDColumns Core DB/);
__PACKAGE__->uuid_columns( 'artist_id' );
__PACKAGE__->uuid_class('::UUID::Random');
that's it. that's the whole setup. iconic honestly π
β¨ DESCRIPTION β¨
so this class is a subclass of DBIx::Class::UUIDColumns::UUIDMaker, and what it does is lowkey iconic: it pulls in UUID::Random to generate your uuid strings, using UUID::Random::generate. no cap, that's the entire job π«Ά
πΈ METHODS πΈ
as_string
returns the new uuid as a string π like, that's it, that's the method. she's simple, she's reliable, she serves.
π SEE ALSO π
UUID::Randomβ the actual girlboss doing all the work behind the scenes π§
π AUTHOR π
Moritz Onken <onken@houseofdesign.de> β thank u for ur service, legend π«‘π
π LICENSE π
you may distribute this code under the same terms as Perl itself β¨ (yes, same terms as Perl, fr fr, go wild but responsibly π )
and that's the page, bestie!! this was User Contributed Perl Documentation for DBIx::Class::UUIDColumns::UUIDMaker::UUID::Random, running on perl v5.32.0, dated 2021-01-06. mwah, stan, bye!! ππ
π¦ 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