X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2FFile%2FKDBX%2FObject.pm;h=f01944a9d206f731c418610b8d72f38499505c1e;hb=4dc2a1996dfcf2dfda3c554daa2f5f59fa763494;hp=afede78ae0894c4a1e5677f5592490510d9dab4d;hpb=05e0bcef1c2165c556b910314312866dc4a667b7;p=chaz%2Fp5-File-KDBX diff --git a/lib/File/KDBX/Object.pm b/lib/File/KDBX/Object.pm index afede78..f01944a 100644 --- a/lib/File/KDBX/Object.pm +++ b/lib/File/KDBX/Object.pm @@ -73,11 +73,11 @@ sub new { my $self = bless $data // {}, $class; $self->init(%args); - $self->_set_default_attributes if !$data; + $self->_set_nonlazy_attributes if !$data; return $self; } -sub _set_default_attributes { die 'Not implemented' } +sub _set_nonlazy_attributes { die 'Not implemented' } =method init @@ -721,7 +721,7 @@ object or an object not part of the object tree of a database can be added to a * L * L -It is possible to copy or move objects between databases, but you B include the same object in more +It is possible to copy or move objects between databases, but B include the same object in more than one database at once or there could some strange aliasing effects (i.e. changes in one database might effect another in unexpected ways). This could lead to difficult-to-debug problems. It is similarly not safe or valid to add the same object multiple times to the same database. For example: