package Data::LUID; use warnings; use strict; =head1 NAME Data::LUID - Generate guaranteed unique local identifiers =head1 VERSION Version 0.014 =cut our $VERSION = '0.014'; =head1 SYNOPSIS use Data::LUID::Table my $table = Data::LUID::Table->new( path => 'luid' ) $luid = $table->make A sample run: 8bqwv1 kb3c6e 9tah65 5fd7rd tss74z 7rxk5s 3mv3qb 2ad9qj =head1 DESCRIPTION On each call to C<< ->make >>, Data::LUID::Table will generate a guaranteed unique local identifier. Guaranteed because once each identifier is generated, it will be stored in a table for future lookup (collision avoidance) The current backend is L =head1 USAGE =head2 $table = Data::LUID::Table->new( path => ) Create a new Data::LUID::Table, saving the table to disk at the given The argument (default: C<./luid>) is the location of the table on disk =head2 $luid = $table->make =head2 $luid = $table->next Generate the next luid in the sequence The current generator is L, so there is no real "sequence" per se =head1 SEE ALSO L =head1 AUTHOR Robert Krimen, C<< >> =head1 BUGS Please report any bugs or feature requests to C, or through the web interface at L. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. =head1 SUPPORT You can find documentation for this module with the perldoc command. perldoc Data::LUID You can also look for information at: =over 4 =item * RT: CPAN's request tracker L =item * AnnoCPAN: Annotated CPAN documentation L =item * CPAN Ratings L =item * Search CPAN L =back =head1 ACKNOWLEDGEMENTS =head1 COPYRIGHT & LICENSE Copyright 2009 Robert Krimen, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut 1; # End of Data::LUID