NAME
Bread::Board::Service::Deferred - Helper for holding a service that is not quite constructed yet
VERSION
version 0.37
DESCRIPTION
Class for proxy objects used when resolving circular dependencies.
This class uses a few nasty tricks: replacing $_[0]
, using AUTOLOAD
, overriding isa
meta
and can
, heavy operator overloading... you should probably not take inspiration from this code unless you really know what you're doing.
In practice, a variable containing an instance of Bread::Board::Service::Deferred
will have its value changed to the actual value instantiated by the service at the first opportunity, and you should not notice that this class was ever there.
AUTHOR
Stevan Little <stevan@iinteractive.com>
BUGS
Please report any bugs or feature requests on the bugtracker website https://github.com/stevan/BreadBoard/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
COPYRIGHT AND LICENSE
This software is copyright (c) 2019, 2017, 2016, 2015, 2014, 2013, 2011, 2009 by 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.