GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       KiokuDB::TypeMap::Entry::Naive - A typemap entry for "simple" objects

VERSION

       version 0.57

SYNOPSIS

           KiokuDB::TypeMap->new(
               entires => {
                   'My::Class' => KiokuDB::TypeMap::Entry::Naive->new,
               },
           );

DESCRIPTION

       This typemap entry is suitable for plain objects that can be stored by
       simply walking them recursively.

       Most objects fall into this category, but there are notable exceptions:

       XS based objects, using a pointer as a number
           When being deserialized the pointer value will no longer be valid,
           causing segfaults.

       Inside out objects
           Since the referent is really a flyweight object with no data, the
           object will be missing its attributes and a suitable typemap entry
           is required instead.

           This applies to any object interacting with a global state of some
           sort.

       Objects with magic
           Perl SV level magic is not retained, apart from tied values.

ATTRIBUTES

       intrinsic
           If true the object will be collapsed without an ID as part of its
           parent.

AUTHOR

       Yuval Kogman <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE

       This software is copyright (c) 2014 by Yuval Kogman, Infinity
       Interactive.

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

perl v5.18.2                      2014-03-2KiokuDB::TypeMap::Entry::Naive(3pm)



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.114 seconds. Last modified: November 04 2018 12:49:43.