Dpkg::Interface::Storable man page on ElementaryOS

Man page or keyword search:  
man Server   4994 pages
apropos Keyword Search (all sections)
Output format
ElementaryOS logo
[printable version]

Dpkg::Interface::Storable(3)	 libdpkg-perl	  Dpkg::Interface::Storable(3)

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

DESCRIPTION
       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 output().

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

       $obj->parse($fh, $desc)
	   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).

PROVIDED METHODS
       $obj->load($filename)
	   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 case).

       $obj->save($filename)
	   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 that
	   case).

       "$obj"
	   Return a string representation of the object.

AUTHOR
       Raphaƫl Hertzog <hertzog@debian.org>.

1.17.5				  2013-12-10	  Dpkg::Interface::Storable(3)
[top]

List of man pages available for ElementaryOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
...................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net