I was using Data::UUD for creating fresh uuids, and I think that while
the module API is versatile enough to cover all aspects of UUID
programming, it lacks the preferred, or most-often used function and/or
export names, for most often met practices. It might be a good idea to
add and export (not by default though), functions like uuid:
sub uuid
{
my $u = Data::UUID-> new;
my $ux = $u-> create();
return $u-> to_string( $ux);
}
as in general follow the steps of f.ex. Digest::MD5 API, which is very
usable without object API (I don't mind OO at all, just think it's not
suited very well for most often uses).