perldoc > CGI::Session::Serialize::storable

🏷️ NAME

CGI::Session::Serialize::storable - Serializer for CGI::Session

🚀 Quick Reference

Use CaseCommandDescription
Set Storable serializer in CGI::SessionCGI::Session->new(undef, undef, {Serializer => 'storable'})Use Storable to serialize session data for persistence.
Serialize session data manuallyCGI::Session::Serialize::storable::freeze('CGI::Session::Serialize::storable', \%data)Directly freeze a hash reference into a Storable string.
Deserialize session data manuallyCGI::Session::Serialize::storable::thaw('CGI::Session::Serialize::storable', $string)Thaw a Storable string back into a data structure.

📖 DESCRIPTION

This library can be used by CGI::Session to serialize session data. Uses Storable.

⚙️ METHODS

❄️ freeze($class, \%hash)

Receives two arguments. First is the class name, the second is the data to be serialized. Should return serialized string on success, undef on failure. Error message should be set using "set_error()|CGI::Session::ErrorHandler/"set_error()""

🌡️ thaw($class, $string)

Receives two arguments. First is the class name, second is the *frozen* data string. Should return thawed data structure on success, undef on failure. Error message should be set using "set_error()|CGI::Session::ErrorHandler/"set_error()""

📜 LICENSING

For support and licensing see CGI::Session

CGI::Session::Serialize::storable
🏷️ NAME 🚀 Quick Reference 📖 DESCRIPTION ⚙️ METHODS
❄️ freeze($class, \%hash) 🌡️ thaw($class, $string)
📜 LICENSING

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-08 10:08 @216.73.216.23
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format