to make $c->engine->env work in all cases (kmx)
- Also fix $c->engine->env in Catalyst::Test tests (kmx)
- Tests for this (t0m)
+ - Fix Catalyst failing to start if any plugin changed $_ whilst
+ loading (t0m)
+ - Tests for this
New features:
- Add $c->req->remote_user to disambiguate from $c->req->user (dwc)
my @plugins = map { s/\A\+// ? $_ : "Catalyst::Plugin::$_" } @$plugins;
- Class::MOP::load_class($_) for @plugins;
-
+ for my $plugin (@plugins) {
+ Class::MOP::load_class($plugin);
+ }
+
for my $plugin ( reverse @plugins ) {
my $meta = find_meta($plugin);
next if $meta && $meta->isa('Moose::Meta::Role');