info > Dpkg::Interface::Storable

🏷️ NAME

Dpkg::Interface::Storable - common methods related to object serialization

πŸš€ Quick Reference

Use CaseCommandDescription
πŸ“‚ Load object from file$obj->load($filename)Initialize object from file, auto‑decompress
πŸ’Ύ Save object to file$obj->save($filename)Store object to file, auto‑compress
πŸ“₯ Parse from filehandle$obj->parse($fh)Read object data from an open filehandle
πŸ“€ Output to string$obj->output()Return string representation of object
πŸ–¨οΈ Output to filehandle$obj->output($fh)Write string representation to filehandle
πŸ”€ Stringify object"$obj"Overloaded stringification (calls output)

πŸ“– DESCRIPTION

Dpkg::Interface::Storable is only meant to be used as parent class for other classes. It provides common methods that are all implemented on top of two basic methods parse() and output().

βš™οΈ BASE METHODS

Those methods must be provided by the class that wish to inherit from Dpkg::Interface::Storable so that the methods provided can work.

πŸ› οΈ PROVIDED METHODS

πŸ”„ CHANGES

πŸ†• Version 1.01 (dpkg 1.19.0)

New options: The $obj->load() and $obj->save() methods support a new compression option.

πŸ†• Version 1.00 (dpkg 1.15.6)

Mark the module as public.

Dpkg::Interface::Storable
🏷️ NAME πŸš€ Quick Reference πŸ“– DESCRIPTION βš™οΈ BASE METHODS πŸ› οΈ PROVIDED METHODS πŸ”„ CHANGES
πŸ†• Version 1.01 (dpkg 1.19.0) πŸ†• Version 1.00 (dpkg 1.15.6)

Generated by phpman v4.9.25-3-gdbaf087 Author: Che Dong Under GNU General Public License
2026-07-06 23:12 @216.73.217.93
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-pro / taotoken.net / www.chedong.com - original format