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

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

✨ 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