SPOPS::Key::UUID - Creates a Universally Unique ID (UUID) as a key
# In your SPOPS configuration $spops = { 'myspops' => { 'isa' => [ qw/ SPOPS::Key::UUID SPOPS::DBI / ], ... }, };
Very, very simple. We just use the Data::UUID module to create a unique key. The key is created before the object is inserted.
The docs for Data::UUID say that it can handle millions of new keys per second, which should be enough for anything Perl is running.
Unclear whether Data::UUID works on Win32.
Nothing known.
Copyright (c) 2001-2004 intes.net, inc.. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Chris Winters <chris@cwinters.com>
To install SPOPS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPOPS
CPAN shell
perl -MCPAN -e shell install SPOPS
For more information on module installation, please visit the detailed CPAN module installation guide.