Linux 2.6 - man page for dpkg::interface::storable (linux section 3)
|Linux & Unix Commands - Search Man Pages
Dpkg::Interface::Storable(3) libdpkg-perl Dpkg::Interface::Storable(3)
Dpkg::Interface::Storable - common methods related to object serialization
Dpkg::Interface::Storable is only meant to be used as parent class for other objects. It
provides common methods that are all implemented on top of two basic methods parse() and
Those methods must be provided by the object that wish to inherit from
Dpkg::Interface::Storable so that the methods provided can work.
This methods initialize 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).
Initialize the object with the data stored in the file. The file can be compressed, it
will be uncompressed on the fly by using a Dpkg::Compression::FileHandle object. If
$filename is "-", then the standard input is read (no compression is allowed in that
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
$filename is "-", then the standard output is used (data are written uncompressed in
Return a string representation of the object.
Raphael Hertzog <firstname.lastname@example.org>.
188.8.131.52 2012-04-17 Dpkg::Interface::Storable(3)
All times are GMT -4. The time now is 11:32 PM.