KiokuD...::Hash(3pm)

πŸ“¦
version 0.57 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

✨ NAME ✨

KiokuDB::Backend::Hash β€” bestie, it's an in-memory backend, and its whole job is testing purposes πŸ’…

(also hi, this page is KiokuD...::Hash(3pm) from the User Contributed Perl Documentation, in case you were wondering who sent you this 🫢)


🌸 VERSION 🌸

version 0.57 β€” yes ma'am, that's the one πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

my $dir = KiokuDB->new(
    backend => KiokuDB::Backend::Hash->new(),
);

like... that's it. that's the whole setup. so clean, so iconic ✨


πŸ’– DESCRIPTION πŸ’–

okay so this KiokuDB backend does in memory storage and retrieval of KiokuDB::Entry objects. no disk, no drama, no nothing β€” it all just lives in RAM, living its main character life 🌈

and the way it makes dumps of the backend clear? it uses Storable's dclone for that. literally dclone. copy that whole structure, fresh, every time πŸ¦‹

ngl bestie, the "in memory" part is the vibe check here: this is for testing purposes. don't be out here storing your actual production data in it, ok? 😭

πŸ’œ AUTHOR πŸ’œ

Yuval Kogman <nothingmuch@woobling.org> β€” shoutout to the legend 🫢


This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt πŸ’…


that's the whole page bestie, slay, go test something 🌸

this was KiokuD...::Hash(3pm) β€” perl v5.34.0, 2022-05-23 β€” mwah, bye, ily, don't forget to dclone πŸ’–βœ¨

πŸ“¦ where this page comes from