MooseX::DIC The dependency injection container for Moose.

Introduction

Welcome to the documentation site for the MooseX::DIC library, which is focused
on providing a dependency injection container based on Moose types. More
specifically based on Moose roles (used as interfaces in the java sense).

The library is greatly inspired by dependency injection frameworks found on
Java land like CDI or Spring. As such, it tries to mimic most of it's features.

The configuration of the container can be made both by config file or by
writing metadata into the classes that declare injectable services. This
library does not make any assumption over which method is better.

Keep reading about the container to get a basic look into how the container
works, what benefits it provides to your application, and how to use it.