### foo.pl use 5.10.0; use warnings; use lib 'lib'; use MyApp; { ### PLACK_ENV: development local $ENV{PLACK_ENV} = 'development'; my $c = MyApp->bootstrap; say ''; say "PLACK_ENV: $ENV{PLACK_ENV}"; say "context mode: @{[$c->mode_name]}"; say "config file: @{[$c->config->{env}]}"; } { ### PLACK_ENV: test local $ENV{PLACK_ENV} = 'test'; my $c = MyApp->bootstrap; say ''; say "PLACK_ENV: $ENV{PLACK_E