Catman...r::UUID(3pm)

πŸ“¦
version 1.2025 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

✨ NAME ✨

Catmandu::IdGenerator::UUID β€” it's a generator of UUID identifiers, bestie πŸ’– (and yeah, that's the whole Catmandu::IdGenerator::UUID situation, perl manual page 3pm, we been knew πŸ‘‘)


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's the vibe, literally copy-paste this:

use Catmandu::IdGenerator::UUID;

my $x = Catmandu::IdGenerator::UUID->new;

for (1..100) {
   printf "id: %s\n" , $x->generate;
}

like. you make one. you call generate on it. a hundred times. that's it, that's the whole ritual πŸ¦‹


🌸 DESCRIPTION 🌸

so this Catmandu::IdGenerator right β€” it generates identifiers based on the Universally Unique Identifier (UUID) v1 standard, no cap πŸ’…

and what even is a UUID string? it's a 128 bit number represented by lowercase hexadecimal digits, looking like this iconic lil thing:

de305d54-75b4-431b-adb2-eb6b9e546014

not me being obsessed with a string of hex digits 😭 it's giving main character energy fr fr ✨


kay that's the whole page bestie, stay hydrated, go generate some ids 🫢

this was perl v5.40.1, dated 2026-01-24, from the Catmandu::IdGenerator::UUID 3pm manual β€” mwah, periodt πŸ’–πŸŒˆβ­

πŸ“¦ where this page comes from