DBIx::...a::GUID(3pm)

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

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