Catalyst-Plugin-InjectionHelpers
view release on metacpan or search on metacpan
README.mkdn view on Meta::CPAN
);
MyApp->setup;
The first method is a better choice if you need to alter how your injections work
based on configuration that is controlled per environment.
# DESCRIPTION
**NOTE** Starting with `VERSION` 0.012 there is a breaking change in the number
of arguments that the `method` and `from_code` callbacks get. If you need to
keep backwards compatibility you should set the version flag to 1:
MyApp->config(
'Plugin::InjectionHelpers' => { version => 1 },
## Additional configuration as needed
);
This plugin enhances the build in component injection features of [Catalyst](https://metacpan.org/pod/Catalyst)
(since v5.90090) to make it easy to bring non [Catalyst::Component](https://metacpan.org/pod/Catalyst::Component) classes
into your application. You may consider using this for what you often used
lib/Catalyst/Plugin/InjectionHelpers.pm view on Meta::CPAN
);
MyApp->setup;
The first method is a better choice if you need to alter how your injections work
based on configuration that is controlled per environment.
=head1 DESCRIPTION
B<NOTE> Starting with C<VERSION> 0.012 there is a breaking change in the number
of arguments that the C<method> and C<from_code> callbacks get. If you need to
keep backwards compatibility you should set the version flag to 1:
MyApp->config(
'Plugin::InjectionHelpers' => { version => 1 },
## Additional configuration as needed
);
This plugin enhances the build in component injection features of L<Catalyst>
(since v5.90090) to make it easy to bring non L<Catalyst::Component> classes
into your application. You may consider using this for what you often used
( run in 0.425 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )