Scroll to navigation

Bread::Board::Service::Deferred(3pm) User Contributed Perl Documentation Bread::Board::Service::Deferred(3pm)


Bread::Board::Service::Deferred - Helper for holding a service that is not quite constructed yet


version 0.37


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.


Stevan Little <>


Please report any bugs or feature requests on the bugtracker website

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.


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.

2020-04-01 perl v5.30.0