| 1 | package Bread::Board::Container::FromParameterized; | ||
| 2 | 56 | our $AUTHORITY = 'cpan:STEVAN'; | |
| 3 | # ABSTRACT: container with weak parent reference | ||
| 4 | 56 | $Bread::Board::Container::FromParameterized::VERSION = '0.35'; | |
| 5 | 56 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 56 | extends 'Bread::Board::Container'; | |
| 8 | |||
| 9 | 56 | has '+parent' => ( | |
| 10 | weak_ref => 0, | ||
| 11 | ); | ||
| 12 | |||
| 13 | 56 | __PACKAGE__->meta->make_immutable; | |
| 14 | |||
| 15 | 56 | ▶ | no Moose; 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | __END__ | ||
| 18 | |||
| 19 | =pod | ||
| 20 | |||
| 21 | =encoding UTF-8 | ||
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | Bread::Board::Container::FromParameterized - container with weak parent reference | ||
| 26 | |||
| 27 | =head1 VERSION | ||
| 28 | |||
| 29 | version 0.35 | ||
| 30 | |||
| 31 | =head1 DESCRIPTION | ||
| 32 | |||
| 33 | When L<creating|Bread::Board::Container::Parameterized/create ( | ||
| 34 | %params )> an actual container from a L<parameterized | ||
| 35 | container|Bread::Board::Container::Parameterized>, the returned | ||
| 36 | container is re-blessed into this class. | ||
| 37 | |||
| 38 | The only difference between this class and L<Bread::Board::Container> | ||
| 39 | is that the C<parent> attribute here is a weak reference. | ||
| 40 | |||
| 41 | =head1 AUTHOR | ||
| 42 | |||
| 43 | Stevan Little <stevan@iinteractive.com> | ||
| 44 | |||
| 45 | =head1 BUGS | ||
| 46 | |||
| 47 | Please report any bugs or feature requests on the bugtracker website | ||
| 48 | https://github.com/stevan/BreadBoard/issues | ||
| 49 | |||
| 50 | When submitting a bug or request, please include a test-file or a | ||
| 51 | patch to an existing test-file that illustrates the bug or desired | ||
| 52 | feature. | ||
| 53 | |||
| 54 | =head1 COPYRIGHT AND LICENSE | ||
| 55 | |||
| 56 | This software is copyright (c) 2017, 2016, 2015, 2014, 2013, 2011, 2009 by Infinity Interactive. | ||
| 57 | |||
| 58 | This is free software; you can redistribute it and/or modify it under | ||
| 59 | the same terms as the Perl 5 programming language system itself. | ||
| 60 | |||
| 61 | =cut | ||