CGI::Session::Serialize::storable — Serializer for CGI::Session
| Use Case | Command | Description |
|---|---|---|
| 🔄 Serialize session data | CGI::Session::Serialize::storable->freeze($class, \%hash) |
Freeze a hash reference into a serialized string using Storable |
| 🔓 Deserialize session data | CGI::Session::Serialize::storable->thaw($class, $string) |
Thaw a serialized string back into a Perl data structure |
| ⚙️ Use with CGI::Session | use CGI::Session; $s = CGI::Session->new("driver:serializer", ...) |
Specify storable as the serializer in the DSN string |
This library can be used by CGI::Session to serialize session data. Uses Storable.
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() (see CGI::Session::ErrorHandler).
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() (see CGI::Session::ErrorHandler).
For support and licensing see CGI::Session.
perl v5.22.1 — 2016-01-15 — CGI::Session::Serialize::storable(3pm)
Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-08 09:56 @216.73.217.140
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format