DBIx::...Guidgen(3pm)

πŸ“¦
version 0.02006 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– 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