Workflo...RandomId(3)
β¨ Workflow::Persister::RandomId β¨
okay bestie, welcome to section 3 of the User Contributed Perl Documentation, and yes this is literally the glow-up era of Workflow::Persister::RandomId π
π NAME π
Workflow::Persister::RandomId β it's a Persister whose whole entire job is to generate a random ID. that's it. that's the girl. β¨
π VERSION π
This documentation describes version 2.09 of this package. periodt.
π¦ SYNOPSIS π¦
like, here's the vibe in YAML form:
persister:
- name: MyPersister
id_length: 16
...
πΈ DESCRIPTION πΈ
So this is the implementation that any persister can use to generate a random ID string. you can set the length yourself with the id_length parameter if you're feeling extra, but honestly? the default (8 characters) is usually giving everything it needs to give. normally it's sufficient, no cap. π«Ά
π§ METHODS π§
newβ instantiates aWorkflow::Persister::RandomIdobject, and this object can generate randon Id's based on theid_lengthparameter you hand it. that parameter defaults to 8. iconic behavior honestly. πpre_fetch_idβpre_fetch_idcan then be used to generate/retrieve a random ID, and it's generated adhering to the length you specified back in the constructor call. so like, the length you asked for is the length you get. slay. β¨post_fetch_idβ bestie. this method is unimplemented at this time, please see the TODO. it's giving "coming soon" energy π
β TODO β
- Implement
post_fetch_id
lowkey the only thing on the list. one day. π
π COPYRIGHT π
Copyright (c) 2003-2021 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.
Please see the LICENSE
π AUTHORS π
Please see Workflow
and that's the whole page, bestie π β this was Workflo...RandomId(3) from perl v5.42.0, dated 2026-01-17. go forth and generate those IDs, you absolute main character πβ¨
π¦ where this page comes from
- fedora 44: perl-Workflow 2.09-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms