1MooseX::Storage::TraitsU:s:eDrisCaobnMltoeroCisybecuXlt:ee:DdSettPoeercratlgieoD:no:(cT3ur)maeinttsa:t:iDoinsableCycleDetection(3)
2
3
4

NAME

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

VERSION

10       version 0.52
11

SYNOPSIS

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

DESCRIPTION

28       "MooseX::Storage" implements a primitive check for circular references.
29       This check also triggers on simple cases as shown in the Synopsis.
30       Providing the "DisableCycleDetection" traits disables checks for any
31       cyclical references, so if you know what you are doing, you can bypass
32       this check.
33
34       This trait is applied to all objects that inherit from it. To use this
35       on a per-case basis, see "disable_cycle_check" in
36       MooseX::Storage::Basic.
37
38       See the SYNOPSIS for a nice example that can be easily cargo-culted.
39

SUPPORT

41       Bugs may be submitted through the RT bug tracker
42       <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Storage> (or
43       bug-MooseX-Storage@rt.cpan.org <mailto:bug-MooseX-
44       Storage@rt.cpan.org>).
45
46       There is also a mailing list available for users of this distribution,
47       at <http://lists.perl.org/list/moose.html>.
48
49       There is also an irc channel available for users of this distribution,
50       at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.
51

AUTHORS

53       ·   Chris Prather <chris.prather@iinteractive.com>
54
55       ·   Stevan Little <stevan.little@iinteractive.com>
56
57       ·   יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>
58
60       This software is copyright (c) 2007 by Infinity Interactive, Inc.
61
62       This is free software; you can redistribute it and/or modify it under
63       the same terms as the Perl 5 programming language system itself.
64
65
66
67perl v5.30.0                 Moose2X0:1:9S-t0o7r-a2g6e::Traits::DisableCycleDetection(3)
Impressum