Not found locally for Dpkg::Interface::Storable. Try Google search
Dpkg::Interface::Storable(3perl) libdpkg-perl Dpkg::Interface::Storable(3perl)
Dpkg::Interface::Storable - common methods related to object serialization
| Use Case | Command | Description |
|---|---|---|
| Load object from file | $obj->load($filename) | Initialize object with data from file (supports compression) |
| Save object to file | $obj->save($filename) | Store object to file (supports compression) |
| Stringify object | "$obj" | Return string representation via interpolation |
| Parse from filehandle | $obj->parse($fh, [$desc]) | Initialize object from a filehandle |
| Output to string/filehandle | $obj->output([$fh]) | Get string representation or write to filehandle |
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().
Those methods must be provided by the class that wish to inherit from Dpkg::Interface::Storable so that the methods provided can work.
$obj->parse($fh[, $desc]) — This method initializes the object with the data stored in the filehandle. $desc is optional and is a textual description of the filehandle used in error messages.$string = $obj->output([$fh]) — This method returns a string representation of the object in $string and it writes the same string to $fh (if it's defined).$obj->load($filename, %opts) — Initialize the object with the data stored in the file. The file can be compressed, it will be decompressed on the fly by using a Dpkg::Compression::FileHandle object. If $opts{compression} is false the decompression support will be disabled. If $filename is "-", then the standard input is read (no compression is allowed in that case).$obj->save($filename, %opts) — Store the object in the file. If the filename ends with a known compression extension, it will be compressed on the fly by using a Dpkg::Compression::FileHandle object. If $opts{compression} is false the compression support will be disabled. If $filename is "-", then the standard output is used (data are written uncompressed in that case)."$obj" — Return a string representation of the object.New options: The $obj->load() and $obj->save() methods support a new compression option.
Mark the module as public.
1.21.1 2025-09-09 Dpkg::Interface::Storable(3perl)
Generated by phpman v4.10.0-7-g98e9fd5 Author: Che Dong Under GNU General Public License
2026-09-09 12:16 @2600:1f28:365:80b0:60b0:dfa5:fbc9:9f8f
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)