1MooseX::Storage::EngineUM:so:eoTrsreaCXio:tn::tS:rtDioibrsuaatgbeeld:e:CPEyencrgllienDDeeo:tc:euTcmrteainiottna:(t:3iD)oinsableCycleDetection(3)
2
3
4

NAME

6       MooseX::Storage::Engine::Trait::DisableCycleDetection - A custom trait
7       to bypass cycle detection
8

SYNOPSIS

10           package Double;
11           use Moose;
12           use MooseX::Storage;
13           with Storage( traits => ['DisableCycleDetection'] );
14
15           has 'x' => ( is => 'rw', isa => 'HashRef' );
16           has 'y' => ( is => 'rw', isa => 'HashRef' );
17
18           my $ref = {};
19
20           my $double = Double->new( 'x' => $ref, 'y' => $ref );
21
22           $double->pack;
23

DESCRIPTION

25       "MooseX::Storage" implements a primitive check for circular references.
26       This check also triggers on simple cases as shown in the Synopsis.
27       Providing the "DisableCycleDetection" traits disables checks for any
28       cyclical references, so if you know what you are doing, you can bypass
29       this check.
30
31       This trait is applied to an instance of MooseX::Storage::Engine, for
32       the user-visible version shown in the SYNOPSIS, see
33       MooseX::Storage::Traits::DisableCycleDetection
34

METHODS

36   Introspection
37       meta
38

BUGS

40       All complex software has bugs lurking in it, and this module is no
41       exception. If you find a bug please either email me, or add the bug to
42       cpan-RT.
43

AUTHOR

45       Stevan Little <stevan.little@iinteractive.com>
46
48       Copyright 2007-2008 by Infinity Interactive, Inc.
49
50       <http://www.iinteractive.com>
51
52       This library is free software; you can redistribute it and/or modify it
53       under the same terms as Perl itself.
54
55
56
57perl v5.12.0          MooseX::Stor2a0g0e9:-:0E7n-g1i3ne::Trait::DisableCycleDetection(3)
Impressum