Revision history for Catalyst-Plugin-ConfigLoader-Environment
+0.07 05 June 2010
+ - removed useless use of grep in void context
+ - using shipit for dist management
+
0.06 25 February 2010
- official release
- using MRO::Compat
- updated 01-live.t to reflect such
- Added self to contributors
+
0.05 6 March 2008
- Allow top-level ::-params (Model__Foo, not just Model__Foo_bar)
- Allow JSON for all values (not just Model__Foo_bar)
=cut
-our $VERSION = '0.06';
+our $VERSION = '0.07';
=head1 SYNOPSIS
my $c = shift;
my $prefix = Catalyst::Utils::class2env($c);
my %env;
- grep { /^${prefix}[_](.+)$/ && ($env{$1}=$ENV{$_})} keys %ENV;
+ for (keys %ENV) {
+ m/^${prefix}[_](.+)$/ and $env{$1} = $ENV{$_};
+ }
foreach my $var (keys %env) {
my $val = $env{$var};