Yanick Champoux > Bread-Board > Bread::Board::Service::Deferred

Download:
Bread-Board-0.33.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.33   Source  

NAME ^

Bread::Board::Service::Deferred

VERSION ^

version 0.33

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) 2015 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.

syntax highlighting: