Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SPOPS::Export::Object(User Contributed Perl DocumentatSPOPS::Export::Object(3)

NAME
       SPOPS::Export::Object - Dump SPOPS objects to a portable	format

SYNOPSIS
	# See SPOPS::Export

DESCRIPTION
       You can use this	format yourself, or feed it to SPOPS::Import::Object
       to easily move objects from one database	to another.

PROPERTIES
       No extra	ones beyond SPOPS::Export

METHODS
       create_header()

       Creates the text	for the	variable initialization	and the	two pieces of
       metadata	we need.

       create_record()

       Dumps the record, each field being serialized by
       "serialize_field_data()".

       create_footer()

       Just close up the variable initialized in "create_header()".

       serialize_field_data( $data )

       Return a	string suitable	for serializing	the value of $data. You	must
       ensure that it will return properly after an "eval{}". For instance,
       the following:

	$object->{publisher} = "O'Reilly and Associates";

       Cannot simply be	returned in single quotes:

	'O'Reilly and Associates'

       Because it will not evaluate properly. The default return for all
       object values is:

	q{O'Reilly and Associates}

       But we also check the string to see if it has any braces	in it and if
       so, try a few other characters.

BUGS
       None known.

TO DO
       Nothing known.

SEE ALSO
       SPOPS::Import::Object

COPYRIGHT
       Copyright (c) 2001-2004 intes.net, inc..	All rights reserved.

       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

AUTHORS
       Chris Winters <chris@cwinters.com>

perl v5.32.0			  2004-06-02	      SPOPS::Export::Object(3)

NAME | SYNOPSIS | DESCRIPTION | PROPERTIES | METHODS | BUGS | TO DO | SEE ALSO | COPYRIGHT | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=SPOPS::Export::Object&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help