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.
639896c7-37a3-46f7-a751-d5549c7632fb
curl https://getuuid.sh/api/uuid