Workflow::Persister::UUID - Persister to generate Universally Unique Identifiers


NAME

Workflow::Persister::UUID - Persister to generate Universally Unique Identifiers


SYNOPSIS

 <persister
     name="MyPersister"
     use_uuid="yes"
 ...


DESCRIPTION

Implementation for any persister to generate a UUID/GUID ID string. The resulting string is 36 characters long and, according to the implementation docs, ``is guaranteed to be different from all other UUIDs/GUIDs generated until 3400 CE.''

This uses the the Data::UUID manpage module to generate the UUID string, so look there if you are curious about the algorithm, efficiency, etc.

METHODS

new

Instantiates a Workflow::Persister::UUID object, which is actually an encapsulation of the Data::UUID manpage.

pre_fetch_id

pre_fetch_id can then be used to generate/retrieve a unique ID, generated by the Data::UUID manpage.

post_fetch_id

This method is unimplemented at this time, please see the TODO.


TODO


SEE ALSO

the Data::UUID manpage


COPYRIGHT

Copyright (c) 2003-2004 Chris Winters. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


AUTHORS

Chris Winters <chris@cwinters.com>

 Workflow::Persister::UUID - Persister to generate Universally Unique Identifiers