perldoc > CGI::Session::Serialize::freezethaw

🏷️ NAME

CGI::Session::Serialize::freezethaw - serializer for CGI::Session

🚀 Quick Reference

Use Case Command Description
Serialize session data with FreezeThaw CGI::Session->new(undef, undef, {Serialize => 'freezethaw'}) Initialize a CGI::Session object using FreezeThaw serialization
Freeze a hash to string CGI::Session::Serialize::freezethaw::freeze($class, \%hash) Serialize a Perl hash reference into a frozen string
Thaw a frozen string back to data CGI::Session::Serialize::freezethaw::thaw($class, $string) Deserialize a frozen string back into a Perl data structure

📖 DESCRIPTION

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

🔧 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)

Received 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::freezethaw
🏷️ 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 11:05 @216.73.217.55
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