use Data::UUID; $ug = new Data::UUID; $uuid1 = $ug->create(); $uuid2 = $ug->create_from_name(, );