Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-UUID CPAN distribution.

Report information
The Basics
Id: 32129
Status: resolved
Priority: 0/
Queue: Data-UUID

People
Owner: Nobody in particular
Requestors: KARASIK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.148
Fixed in: (no value)



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).
For a better interface to creating unique IDs, use Data::GUID. -- rjbs