1Workflow::Persister::RaUnsdeormICdo(n3t)ributed Perl DocWuomreknftlaotwi:o:nPersister::RandomId(3)
2
3
4
6 Workflow::Persister::RandomId - Persister to generate random ID
7
9 This documentation describes version 1.03 of this package
10
12 <persister
13 name="MyPersister"
14 id_length="16"
15 ...
16
18 Implementation for any persister to generate a random ID string. You
19 can specify the length using the 'id_length' parameter, but normally
20 the default (8 characters) is sufficient.
21
22 METHODS
23 new
24
25 Instantiates a Workflow::Persister::RandomId object, this object can
26 generate randon Id's based on the 'id_length' parameter provided. This
27 parameter defaults to 8.
28
29 pre_fetch_id
30
31 "pre_fetch_id" can then be used to generate/retrieve a random ID,
32 generated adhering to the length specified in the constructor call.
33
34 post_fetch_id
35
36 This method is unimplemented at this time, please see the TODO.
37
39 ยท Implement "post_fetch_id"
40
42 Copyright (c) 2003-2004 Chris Winters. All rights reserved.
43
44 This library is free software; you can redistribute it and/or modify it
45 under the same terms as Perl itself.
46
48 Chris Winters <chris@cwinters.com>
49
50
51
52perl v5.30.1 2020-01-30 Workflow::Persister::RandomId(3)