DBIx::...:Uniqid(3pm)
π NAME π
DBIx::Class::UUIDColumns::UUIDMaker::Data::Uniqid β bestie, this is the little plugin that makes your uuids using Data::Uniqid. That's the whole job. She's a specialist. She does one thing and she ate. π
β¨ SYNOPSIS β¨
okay so this is literally the entire setup, copy-paste core:
package Artist;
__PACKAGE__->load_components(qw/UUIDColumns Core DB/);
__PACKAGE__->uuid_columns( 'artist_id' );
__PACKAGE__->uuid_class('::Data::Uniqid');
load the components, tell it which column is the uuid column, then point uuid_class at this girl. that's it. that's the vibe. π¦
πΈ DESCRIPTION πΈ
so this is a subclass of DBIx::Class::UUIDColumns::UUIDMaker, and what it does is it reaches for Data::Uniqid to spit out uuid strings β specifically it goes through Data::Uniqid::luniqid to do it. no cap. that's the entire personality. π
π METHODS π
as_string
returns the new uuid as a string. just hands it to you. like a little gift. π«Ά
π SEE ALSO π
Data::Data::Uniqid
(yes bestie, it's written exactly like that, don't come for me, i'm just the messenger π)
π AUTHOR π
Chris Laco <claco@chrislaco.com> β the icon, the legend, the moment. β
π LICENSE π
you may distribute this code under the same terms as Perl itself. go forth and share, responsibly. π
this page was shipped withperl v5.32.0, dated2021-01-06, and it came to you courtesy of the User Contributed Perl Documentation crew. ok bye bestie, go make some uuids, you're gonna slay πβ¨π
π¦ 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