DBIx::...a::GUID(3pm)
π DBIx::Class::UUIDColumns::UUIDMaker::Data::GUID π
okay bestie, welcome to the manual page for DBIx::Class::UUIDColumns::UUIDMaker::Data::GUID β part of the User Contributed Perl Documentation collection, and literally the cutest lil UUID-maker you ever did see. It's a DBIx::Class::UUIDColumns::UUIDMaker subclass that makes uuids using Data::GUID. slay.
β¨ NAME β¨
DBIx::Class::UUIDColumns::UUIDMaker::Data::GUID β create uuids using Data::GUID. that's it, that's the whole job, and she does it gorgeously π
β¨ SYNOPSIS β¨
like, here's the vibe, fr fr:
package Artist;
__PACKAGE__->load_components(qw/UUIDColumns Core DB/);
__PACKAGE__->uuid_columns( 'artist_id' );
__PACKAGE__->uuid_class('::Data::GUID');
load the components, tell it which column is the uuid column, point uuid_class at ::Data::GUID. boom. main character energy π¦
β¨ DESCRIPTION β¨
so this DBIx::Class::UUIDColumns::UUIDMaker subclass is the one that reaches for Data::GUID to generate your uuid strings. and the format it hands back? iconic. it's giving:
098f2470-bae0-11cd-b579-08002b30bfeb
yep, that classic hyphenated hex look. no cap. β¨
β¨ METHODS β¨
πΈ as_string
returns the new uuid as a string. that's the whole method, she's simple, she's effective, she ate. π
β¨ SEE ALSO β¨
Data::GUIDβ the whole reason this module exists, go say hi π«Ά
β¨ AUTHOR β¨
Chris Laco <claco@chrislaco.com> β the legend, the moment, the blueprint π
β¨ LICENSE β¨
you may distribute this code under the same terms as Perl itself. periodt. π
and that's the whole page, bestie!! this one's from perl v5.32.0, dated 2021-01-06, and the manpage goes by DBIx::...a::GUID(3pm) around these parts π thanks for reading, ily, go make 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