```{index} single: create (Data::UUID) ``` ```{index} single: Data::UUID::create ``` ```{index} single: Data::UUID::create_b64 ``` ```{index} single: Data::UUID::create_bin ``` ```{index} single: Data::UUID::create_hex ``` ```{index} single: Data::UUID::create_str ``` # create Make a new time-based (version 1) UUID. Also available as `Data::UUID::create_b64`, `Data::UUID::create_bin`, `Data::UUID::create_hex`, `Data::UUID::create_str`. `create` and `create_bin` return the 16 binary bytes, `create_str` the 36-character string, `create_hex` `0x` and 32 hex digits, `create_b64` 24 Base64 characters. Successive UUIDs of one generator compare in the order they were made. ## Synopsis ```perl my $id = $ug->create_str; # e.g. 4162F712-1DD2-11B2-B17E-C09EFE1DC403 my $bin = $ug->create; ```