DBIx::C...torable(3)
β¨ NAME β¨
okay bestie, this page is DBIx::Class::Serialize::Storable(3) from User Contributed Perl Documentation, and the official NAME line is literally: DBIx::Class::Serialize::Storable β hooks for Storable nfreeze/thaw π
π¨ DEPRECATION NOTE π¨
bestie, this component is now DEPRECATED. π«Ά It has not been providing any useful functionality for quite a while, and in fact destroys prefetched results in its current implementation. Do not use!
no cap, do not use this one ππ
π§ SYNOPSIS π§
# in a table class definition
__PACKAGE__->load_components(qw/Serialize::Storable/);
# meanwhile, in a nearby piece of code
my $cd = $schema->resultset('CD')->find(12);
# if the cache uses Storable, this will work automatically
$cache->set($cd->ID, $cd);
π DESCRIPTION π
This component adds hooks for Storable so that result objects can be serialized. It assumes that your result object class (result_class) is the same as your table class, which is the normal situation. slay, that's the whole vibe β¨
πͺ HOOKS πͺ
The following hooks are defined for Storable β see the documentation for "Hooks" in Storable for detailed information on these hooks. iykyk π§
π§ STORABLE_freeze π§
The serializing hook, called on the object during serialization. It can be inherited, or defined in the class itself, like any other method.
π₯ STORABLE_thaw π₯
The deserializing hook called on the object during deserialization.
β FURTHER QUESTIONS? β
Check the list of additional DBIC resources. π«Ά
π COPYRIGHT AND LICENSE π
This module is free software copyright by the DBIx::Class (DBIC) authors. You can redistribute it and/or modify it under the same terms as the DBIx::Class library. periodt π
and that's the page, bestie π β this footer energy comes from perl v5.42.0, dated 2025-01-22, with the manual name showing up as DBIx::C...torable(3) ππ
π¦ where this page comes from
- opensuse-leap 16.0: perl-DBIx-Class 0.082844-bp160.1.10 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms