DBIx::...a::UUID(3pm)
β¨ NAME β¨
DBIx::Class::UUIDColumns::UUIDMaker::Data::UUID β bestie, this lil cutie makes uuids using Data::UUID π¦
(and yeah, the manual page header shortens it all cute to DBIx::...a::UUID(3pm), which is giving "my name is too long for the terminal, so I go by a nickname" energy π
)
πΈ SYNOPSIS πΈ
package Artist;
__PACKAGE__->load_components(qw/UUIDColumns Core DB/);
__PACKAGE__->uuid_columns( 'artist_id' );
__PACKAGE__->uuid_class('::Data::UUID');
okay so like, three lines and you're DONE, no cap π₯
π DESCRIPTION π
This DBIx::Class::UUIDColumns::UUIDMaker subclass is the plug-in that says "oh you need uuids? say less" β it uses Data::UUID to generate uuid strings in exactly this format:
098f2470-bae0-11cd-b579-08002b30bfeb
that's the whole vibe. iconic format, no notes π
π METHODS π
as_string
Returns the new uuid as a string. literally that's it, she's simple and she serves π«Ά
π SEE ALSO π
Data::UUID
π AUTHOR π
Chris Laco <claco@chrislaco.com>
π LICENSE π
You may distribute this code under the same terms as Perl itself.
ok that's the whole page bestie, go forth and uuid responsibly π
signing off from perl v5.32.0, dated 2021-01-06, in the User Contributed Perl Documentation β mwah π
π¦ 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