CGI::Se...storable(3)

πŸ’… CGI::Se...storable(3) β€” User Contributed Perl Documentation πŸ’…

hii bestie 🫢, welcome to the page for CGI::Se...storable(3), brought to you by the User Contributed Perl Documentation girlies. she's here to spill the tea about serializing sessions, and honestly? iconic. ✨

🌸 NAME 🌸

CGI::Session::Serialize::storable β€” the serializer for CGI::Session. no cap, that's her whole job. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this library can be used by CGI::Session to serialize session data. it uses Storable. that's the vibe. periodt. πŸŽ€

✨ METHODS ✨

πŸ’– freeze($class, \%hash) πŸ’–

she receives two arguments, bestie. first is the class name, and second is the data to be serialized. on success she should return a serialized string; on failure she should return undef. if it goes sideways, the error message should be set using "set_error()|CGI::Session::ErrorHandler/"set_error()"". literally that exact string, don't come for me. πŸͺ„

🌈 thaw($class, $string) 🌈

she also receives two arguments. first is the class name, and second is the frozen data string. on success she should return the thawed data structure; on failure she should return undef. error message? set it using "set_error()|CGI::Session::ErrorHandler/"set_error()"". same energy, different method. πŸ¦‹

πŸ‘‘ LICENSING πŸ‘‘

for support and licensing, see CGI::Session. that's the whole section, bestie. πŸ’œ


xoxo, your girlie signing off πŸ’Œ β€” this footer vibe came from CGI::Se...storable(3), perl v5.42.2, dated 2026-07-28. stay slay. πŸ’…πŸŒΈ

πŸ“¦ where this page comes from