DBIx::...Guidgen(3pm)
π DBIx::...Guidgen π
okay bestie, so this is the manual page for DBIx::Class::UUIDColumns::UUIDMaker::Win32::Guidgen, from the User Contributed Perl Documentation collection. say it with me: DBIx::...Guidgen(3pm). it's a mouthful, i know, but she's worth it π«Ά
β¨ NAME β¨
DBIx::Class::UUIDColumns::UUIDMaker::Win32::Guidgen β the little subclass that makes uuids using Win32::Guidgen. that's the whole job. she does one thing and she slays at it π
πΈ SYNOPSIS πΈ
here's how you actually use her, copy-paste energy:
package Artist;
__PACKAGE__->load_components(qw/UUIDColumns Core DB/);
__PACKAGE__->uuid_columns( 'artist_id' );
__PACKAGE__->uuid_class('::Win32::Guidgen');
look at that. load_components, then uuid_columns for 'artist_id', then you point uuid_class at '::Win32::Guidgen' and boom β that's the vibe. β¨
π¦ DESCRIPTION π¦
so this subclass of DBIx::Class::UUIDColumns::UUIDMaker uses Win32::Guidgen to generate uuid strings. and the format it spits out? literally this:
098f2470-bae0-11cd-b579-08002b30bfeb
that's it. that's the format. iconic honestly π
π METHODS π
as_string
returns the new uuid as a string. yeah that's it, she's simple and she's not sorry. π
π SEE ALSO π
Win32::Guidgen
go check her out, she's the one doing the actual heavy lifting iykyk π
π AUTHOR π
Chris Laco <claco@chrislaco.com> β thank you for your service king/queen/royalty π«‘π
π LICENSE π
you may distribute this code under the same terms as Perl itself. so like, go off, but respectfully bestie β¨
and that's the whole page fr fr π
this was DBIx::...Guidgen(3pm) from the User Contributed Perl Documentation, and it's tagged perl v5.32.0, dated 2021-01-06. no cap, that's a wrap ππ¦πΈ
π¦ 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