In code
Generate a UUID in Perl
Data::UUID generates RFC-style identifiers.
Perl example
Perl
use Data::UUID;
print Data::UUID->new->create_str;
No install? Use the tool or API
Here's a fresh version 4 UUID generated right now — copy it, or call the API from any language.
02b9e323-c2c5-407b-9a38-1e5f109ff8d4
curl https://getuuid.sh/api/uuid