Changes for version 1.027 - 2025-12-06

  • Added
    • Added $env references to get values from environment variables. Thanks @XSven for the idea! [Github #82]
    • Added BEAM_PATH environment variable to add more directories to find nested containers and relative config files.
    • Added $default for a fallback to $env, $config, and nested containers.
  • Changed
    • Data::DPath is now a "recommended" dependency and is not installed by default. This greatly reduces the size of Beam::Wire's dependency chain. Thanks @XSven for the patch! [Github #86]
    • Fixed compatibility with Perl 5.10. Thanks @djerius for the patch!

Documentation

A brief introduction to dependency injection with Beam::Wire

Modules

Lightweight Dependency Injection Container
Event fired when building a new service
Event fired when configuring a new service

Provides

in lib/Beam/Wire.pm
in lib/Beam/Wire.pm
in lib/Beam/Wire.pm
in lib/Beam/Wire.pm