Workflo...RandomId(3)

πŸ“¦
version 2.09 Β· 2 versions
, in fedora 44

✨ 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 a Workflow::Persister::RandomId object, and this object can generate randon Id's based on the id_length parameter you hand it. that parameter defaults to 8. iconic behavior honestly. πŸ’–
  • pre_fetch_id β€” pre_fetch_id can 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 (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