The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.142860 - 2014-10-13

  • Bugfix: The push key to Bolts::artifact() was incorrectly using a 1-based index for injector keys rather than a 0-based index.
  • Replaced Bolts::Role::Locator with a version that only declares the required parameters.
  • Copied the original Bolts::Role::Locator to Bolts::Role::RootLocator and made it implement Bolts::Role::Locator
  • Converted Bolts::Role::SelfLocator, Bolts::Locator, and Bolts::Meta::Locator to use Bolts::Role::RootLocator.
  • Made Bolts::Meta::Class::Trait::Locator into an implementation of Bolts::Role::Locator.
  • Added a new init_locator attribute to Bolts::Artifact
  • Changed blueprint, scope, and injectors so that they can take a special initializer argument during construction that takes the form of a Bolts::Meta::Initializer reference that can be used to acquire the blueprint, scope, and injectors (respectively) rather than require they be delivered directly by the caller. This is much nicer to use directly now.
  • Added Bolts::Role::Initializer and the Bolts::Intializer attribute trait to make objects that can be initialized through the use of their own personal locator convenient. This is a slight deviation from pure IOC, but very convenient in some cases.
  • Modify locator_for() and meta_locator_for() in Bolts::Util to return the same locator object for each invocation after the first for a given object reference.

Modules

An Inversion of Control framework for Perl
Tools for resolving an artifact value
Simplified artifact implementation
Helper for creating bags containing artifacts
Defines the interface implemented by blueprints
acquire an artifact via a path and locator
Build an artifact by running a subroutine
An injector-oriented builder using a subroutine
Build an artifact by calling a class method on a class
Used to pass parameters from the user during acquisition into the injector
A blueprint that points to a literal value
Tags a blueprint as being usable during injection
This is the interface for inferring injectors from a blueprint
Inference engine for Moose classes
inject options and parameters into artifacts
Inject parameters by name during construction
Inject parameters by position during construction
Inject by calling a setter method with a value
Inject dependencies into array artifacts
Inject values into a hash
General purpose locator
Build an attribute with an initializer
Metaclass role for Bolts-built bags
Metaclass role for objects that have a meta locator
Store a path and parameters for acquisition
Standard meta locator for Bolts
The role implemented by resolved artifacts
Give components some control over their destiny
Interface for locating artifacts in a bag
Interface for locating artifacts from some root bag
Makes a Moose object into a locator
The interface for lifecycle managers
For artifacts that are constructed at every request
For artifacts that are reused for the lifetime of the bag
Utilities helpful for use with Bolts