jonasbn > Workflow-1.39 > Workflow::Persister::RandomId

Download:
Workflow-1.39.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  6
Open  1
View/Report Bugs
Module Version: 1.03   Source   Latest Release: Workflow-1.41

NAME ^

Workflow::Persister::RandomId - Persister to generate random ID

VERSION ^

This documentation describes version 1.03 of this package

SYNOPSIS ^

 <persister
     name="MyPersister"
     id_length="16"
 ...

DESCRIPTION ^

Implementation for any persister to generate a random ID string. You can specify the length using the 'id_length' parameter, but normally the default (8 characters) is sufficient.

METHODS

new

Instantiates a Workflow::Persister::RandomId object, this object can generate randon Id's based on the 'id_length' parameter provided. This parameter defaults to 8.

pre_fetch_id

"pre_fetch_id" can then be used to generate/retrieve a random ID, generated adhering to the length specified in the constructor call.

post_fetch_id

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

TODO ^

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>

syntax highlighting: